updated default boot limit config
This commit is contained in:
parent
dce0c77371
commit
0ea8e9ee84
@ -12,7 +12,7 @@ in
|
|||||||
options = {
|
options = {
|
||||||
boot = {
|
boot = {
|
||||||
default = libS.mkOpinionatedOption "enable the boot builder";
|
default = libS.mkOpinionatedOption "enable the boot builder";
|
||||||
fullDiskEncryption = libS.mkOpinionatedOption "use luks full disk encrytion";
|
fullDiskEncryption = libS.mkOpinionatedOption "use luks full disk encryption";
|
||||||
useSystemdBoot = libS.mkOpinionatedOption "use systemd boot";
|
useSystemdBoot = libS.mkOpinionatedOption "use systemd boot";
|
||||||
cpuType = lib.mkOption {
|
cpuType = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
@ -58,7 +58,10 @@ in
|
|||||||
loader = {
|
loader = {
|
||||||
efi.canTouchEfiVariables = false;
|
efi.canTouchEfiVariables = false;
|
||||||
generationsDir.copyKernels = true;
|
generationsDir.copyKernels = true;
|
||||||
systemd-boot.enable = lib.mkIf cfg.useSystemdBoot true;
|
systemd-boot = lib.mkIf cfg.useSystemdBoot {
|
||||||
|
enable = true;
|
||||||
|
configurationLimit = 10;
|
||||||
|
};
|
||||||
grub = lib.mkIf (!cfg.useSystemdBoot) {
|
grub = lib.mkIf (!cfg.useSystemdBoot) {
|
||||||
enable = lib.mkForce true;
|
enable = lib.mkForce true;
|
||||||
copyKernels = true;
|
copyKernels = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user