mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-25 18:25:36 +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"; });
|
devices = (import ../../disks/root.nix { disk = "/dev/nvme0n1"; });
|
||||||
};
|
};
|
||||||
|
|
||||||
# Automatically load the ZFS pool on boot
|
boot.zfs = {
|
||||||
boot.zfs.extraPools = [ "tank" ];
|
# 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
|
# Theming
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user