add server bootloader

This commit is contained in:
Noah Masur 2022-10-01 16:24:44 +00:00
parent d303924f02
commit 3ec1ef4394
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,7 @@ nixpkgs.lib.nixosSystem {
}
../common.nix
../../modules/nixos
../../modules/hardware/server.nix
../../modules/services/sshd.nix
];
}

View File

@ -0,0 +1,7 @@
{ config, ... }: {
# Servers need a bootloader or they won't start
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
}