refactor: move bootloader to its own file

This commit is contained in:
Mohammad Rafiq 2025-03-05 06:31:45 +08:00
parent 6615bd99ba
commit bcffebd32b
2 changed files with 8 additions and 4 deletions

View file

@ -0,0 +1,7 @@
{
boot.loader = {
timeout = 0;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
}

View file

@ -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 = {