limit systemd-boot configurations to 5

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-20 12:05:28 +01:00
parent 1a1bd76d8b
commit ebf762e296
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 3 additions and 2 deletions

View file

@ -7,9 +7,9 @@
];
boot.supportedFilesystems = [ "zfs" ];
# Oldest system I have is skylake-based
nixpkgs.localSystem = {
/*nixpkgs.localSystem = {
gcc.arch = "skylake";
gcc.tune = "skylake";
system = "x86_64-linux";
};
};*/
}

View file

@ -1,4 +1,5 @@
{ ... }: {
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 5;
boot.loader.efi.canTouchEfiVariables = true;
}