mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-11 03:36:52 +02:00
fix: hdd storage - do not unlock on boot, increase boot.loader.timeout
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
fallbackToPassword = true;
|
||||
allowDiscards = true;
|
||||
};
|
||||
# Whether to add a boot.initrd.luks.devices entry for the specified disk.
|
||||
# This data disk is not needed to boot the system, so we don't need to unlock it in the initrd.
|
||||
initrdUnlock = false;
|
||||
|
||||
# encrypt the root partition with luks2 and argon2id, will prompt for a passphrase, which will be used to unlock the partition.
|
||||
# cryptsetup luksFormat
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
../../base.nix
|
||||
];
|
||||
|
||||
boot.loader.timeout = lib.mkForce 3; # wait for 3 seconds to select the boot entry
|
||||
boot.loader.timeout = lib.mkForce 7; # wait for x seconds to select the boot entry
|
||||
# Fix: jasper is marked as broken, refusing to evaluate.
|
||||
environment.enableAllTerminfo = lib.mkForce false;
|
||||
}
|
||||
|
||||
@@ -15,5 +15,5 @@
|
||||
../../base.nix
|
||||
];
|
||||
|
||||
boot.loader.timeout = lib.mkForce 3; # wait for 3 seconds to select the boot entry
|
||||
boot.loader.timeout = lib.mkForce 7; # wait for x seconds to select the boot entry
|
||||
}
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
../base
|
||||
../../base.nix
|
||||
];
|
||||
boot.loader.timeout = lib.mkDefault 3; # wait for 3 seconds to select the boot entry
|
||||
boot.loader.timeout = lib.mkForce 7; # wait for x seconds to select the boot entry
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user