More opt
Some checks failed
Nix Build / build-nixos (push) Failing after 29s

This commit is contained in:
soraefir
2024-04-14 22:45:21 +02:00
parent ad1c8a0026
commit 0920a1381d
10 changed files with 132 additions and 130 deletions

View File

@ -1,12 +1,16 @@
{ ... }: {
boot.loader = {
systemd-boot = {
enable = true;
configurationLimit = 8;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
{ 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";
};
};
};
}