Only decrypt the nix zfs dataset.
This commit is contained in:
@@ -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" ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user