diff --git a/nix/configuration/hosts/odo/disk-config.nix b/nix/configuration/hosts/odo/disk-config.nix index e13af29..7df6f5e 100644 --- a/nix/configuration/hosts/odo/disk-config.nix +++ b/nix/configuration/hosts/odo/disk-config.nix @@ -118,4 +118,7 @@ lib.mkIf (!config.me.buildingIso) { fileSystems."/persist".neededForBoot = true; fileSystems."/state".neededForBoot = true; fileSystems."/home".neededForBoot = true; + + # Only attempt to decrypt the main pool. Otherwise it attempts to decrypt pools that aren't even used. + boot.zfs.requestEncryptionCredentials = [ "zroot/linux/nix" ]; }