soraefir 6ba720623b
All checks were successful
Nix Build / build-nixos (push) Successful in 5m19s
Boot for CI fix
2024-04-14 23:11:57 +02:00

17 lines
351 B
Nix

{ lib, config, ... }:
let isSANDBOX = builtins.elem config.syscfg.hostname [ "sandbox" ];
in {
config = lib.mkIf (!isSANDBOX) {
boot.loader = {
systemd-boot = {
enable = true;
configurationLimit = 8;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
};
};
}