diff --git a/systems/modules/systemd-boot.nix b/systems/modules/systemd-boot.nix new file mode 100644 index 0000000..0b5ead2 --- /dev/null +++ b/systems/modules/systemd-boot.nix @@ -0,0 +1,7 @@ +{ + boot.loader = { + timeout = 0; + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; +} diff --git a/systems/nemesis.nix b/systems/nemesis.nix index 36e692a..8ca0e04 100644 --- a/systems/nemesis.nix +++ b/systems/nemesis.nix @@ -7,12 +7,9 @@ ./hw-nemesis.nix ./modules/networking.nix ./modules/locale.nix + ./modules/systemd-boot.nix ]; - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "nemesis"; # Define your hostname. users.users.rafiq = {