Skip to content

Commit

Permalink
nixos/zfs: enable requestEncryptionCredentials by default
Browse files Browse the repository at this point in the history
Since zfsStable now supports encryption, it no longer makes sense to set
the default based on whether we're using zfsUnstable
  • Loading branch information
aij committed Jul 4, 2019
1 parent 73392e7 commit a38449f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nixos/modules/tasks/filesystems/zfs.nix
Expand Up @@ -179,10 +179,9 @@ in

requestEncryptionCredentials = mkOption {
type = types.bool;
default = config.boot.zfs.enableUnstable;
default = true;
description = ''
Request encryption keys or passwords for all encrypted datasets on import.
Dataset encryption is only supported in zfsUnstable at the moment.
For root pools the encryption key can be supplied via both an
interactive prompt (keylocation=prompt) and from a file
(keylocation=file://). Note that for data pools the encryption key can
Expand Down

0 comments on commit a38449f

Please sign in to comment.