soraefir 0920a1381d
Some checks failed
Nix Build / build-nixos (push) Failing after 29s
More opt
2024-04-14 22:45:21 +02:00

17 lines
346 B
Nix

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