mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 04:14:53 +00:00
add server bootloader
This commit is contained in:
parent
d303924f02
commit
3ec1ef4394
@ -18,6 +18,7 @@ nixpkgs.lib.nixosSystem {
|
||||
}
|
||||
../common.nix
|
||||
../../modules/nixos
|
||||
../../modules/hardware/server.nix
|
||||
../../modules/services/sshd.nix
|
||||
];
|
||||
}
|
||||
|
7
modules/hardware/server.nix
Normal file
7
modules/hardware/server.nix
Normal 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;
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user