mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 22:45:37 +00:00
add server bootloader
This commit is contained in:
parent
d303924f02
commit
3ec1ef4394
@ -18,6 +18,7 @@ nixpkgs.lib.nixosSystem {
|
|||||||
}
|
}
|
||||||
../common.nix
|
../common.nix
|
||||||
../../modules/nixos
|
../../modules/nixos
|
||||||
|
../../modules/hardware/server.nix
|
||||||
../../modules/services/sshd.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