dotfiles/modules/nixos/hardware/server.nix

11 lines
214 B
Nix
Raw Permalink Normal View History

2024-04-20 13:42:06 +00:00
{ 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
}