dotfiles/modules/nixos/hardware/server.nix

12 lines
216 B
Nix
Raw Normal View History

{ config, lib, ... }: {
2022-10-01 16:24:44 +00:00
config = lib.mkIf config.server {
2022-12-21 21:18:03 +00:00
# Servers need a bootloader or they won't start
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
};
2022-10-01 16:24:44 +00:00
}