refactor: move bootloader to its own file
This commit is contained in:
parent
6615bd99ba
commit
bcffebd32b
2 changed files with 8 additions and 4 deletions
7
systems/modules/systemd-boot.nix
Normal file
7
systems/modules/systemd-boot.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
boot.loader = {
|
||||
timeout = 0;
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
}
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue