Don't import encrypted ZFS datasets on startup

This commit is contained in:
coolneng 2021-05-21 01:27:08 +02:00
parent 6ab24a5583
commit 7c3e61e51a
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@
# Enable ZFS support
boot.supportedFilesystems = [ "zfs" ];
# Don't import encrypted datasets
boot.zfs.requestEncryptionCredentials = false;
# Scrub zpool monthly
services.zfs.autoScrub = {
enable = true;