From 7c3e61e51a817728814cd25053665821a335b828 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 21 May 2021 01:27:08 +0200 Subject: [PATCH] Don't import encrypted ZFS datasets on startup --- configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration.nix b/configuration.nix index 132f80d..3837047 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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;