mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-27 03:05:38 +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;
|
|
|
|
};
|
|
|
|
}
|