From 9a894676068434ad953fc70091885ac12093fd31 Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Tue, 8 Oct 2019 12:10:23 +0100 Subject: nixos/zfs: simplify logic for scrub/autosnapshot service This makes them consistent with the way zfs.trim is enabled and allow to enable them by default in future. --- nixos/doc/manual/release-notes/rl-2003.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nixos/doc/manual/release-notes') diff --git a/nixos/doc/manual/release-notes/rl-2003.xml b/nixos/doc/manual/release-notes/rl-2003.xml index bdf56acd5451..7c234d004602 100644 --- a/nixos/doc/manual/release-notes/rl-2003.xml +++ b/nixos/doc/manual/release-notes/rl-2003.xml @@ -36,6 +36,15 @@ quirk in the boot menu. + + + The zfs scrub service (services.zfs.autoScrub.enable) + and the zfs autosnapshot service (services.zfs.autoSnapshot.enable) + are now only enabled if zfs is set in config.boot.initrd.supportedFilesystems or + config.boot.supportedFilesystems. These lists will automatically contain + zfs as soon as any zfs mountpoint is configured in fileSystems. + + -- cgit 1.4.1