Files
nixconfig/modules/nixos/system/hw/boot/default.nix
soraefir 76b77b532c Boot
2026-05-01 23:03:39 +02:00

17 lines
347 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";
};
};
};
}