mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 17:44:52 +00:00
fix: zfs noauto encrypted pool still requesting passphrase on reboot
This commit is contained in:
parent
47be4291a3
commit
b39cda6b84
@ -56,8 +56,15 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||
devices = (import ../../disks/root.nix { disk = "/dev/nvme0n1"; });
|
||||
};
|
||||
|
||||
# Automatically load the ZFS pool on boot
|
||||
boot.zfs.extraPools = [ "tank" ];
|
||||
boot.zfs = {
|
||||
# Automatically load the ZFS pool on boot
|
||||
extraPools = [ "tank" ];
|
||||
# Only try to decrypt datasets with keyfiles
|
||||
requestEncryptionCredentials =
|
||||
[ "tank/archive" "tank/generic" "tank/nextcloud" ];
|
||||
# If password is requested and fails, continue to boot eventually
|
||||
passwordTimeout = 300;
|
||||
};
|
||||
|
||||
# Theming
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user