Skip to content

Commit 52b9959

Browse files
committed
Enable systemd boot on Maple
1 parent ccc1470 commit 52b9959

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

systems/x86_64-linux/maple/boot.nix

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{ options, config, pkgs, lib, ... }: {
2+
boot = {
3+
# Bootloader
4+
loader.systemd-boot.enable = true;
5+
loader.systemd-boot.configurationLimit = 5;
6+
loader.efi.canTouchEfiVariables = true;
7+
loader.efi.efiSysMountPoint = "/boot";
8+
9+
# https://github.com/NixOS/nixpkgs/blob/c32c39d6f3b1fe6514598fa40ad2cf9ce22c3fb7/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix#L66
10+
loader.systemd-boot.editor = false;
11+
12+
};
13+
14+
}

0 commit comments

Comments
 (0)