mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 04:35:38 +00:00
d021baa1bb
required because they don't share all attributes
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;
|
|
|
|
};
|
|
|
|
}
|