mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-26 08:14:52 +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;
|
|
|
|
};
|
|
|
|
}
|