2024-04-14 22:45:21 +02:00
|
|
|
{ lib, config, ... }:
|
2024-04-14 23:11:57 +02:00
|
|
|
let isSANDBOX = builtins.elem config.syscfg.hostname [ "sandbox" ];
|
2024-04-14 22:45:21 +02:00
|
|
|
in {
|
2024-04-14 23:11:57 +02:00
|
|
|
config = lib.mkIf (!isSANDBOX) {
|
2024-04-14 22:45:21 +02:00
|
|
|
boot.loader = {
|
|
|
|
systemd-boot = {
|
|
|
|
enable = true;
|
|
|
|
configurationLimit = 8;
|
|
|
|
};
|
|
|
|
efi = {
|
|
|
|
canTouchEfiVariables = true;
|
|
|
|
efiSysMountPoint = "/boot/efi";
|
|
|
|
};
|
2023-11-04 02:28:27 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|