1
0
mirror of https://github.com/nmasur/dotfiles synced 2025-04-08 04:51:12 +00:00

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
hosts/oracle
modules/hardware

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

@ -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;
}