mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-14 16:32:56 +00:00
12 lines
247 B
Nix
12 lines
247 B
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
config = lib.mkIf (pkgs.stdenv.isLinux && config.server) {
|
|
|
|
# Servers need a bootloader or they won't start
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
};
|
|
|
|
}
|