From 088b2a31d0a5fa5a6468737977cad8e60b42e24e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Mon, 5 Sep 2022 17:26:48 +0200 Subject: config: add zfsutil to zfs datasets as appropriate --- types.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types.nix b/types.nix index 46c114d..555b483 100644 --- a/types.nix +++ b/types.nix @@ -764,6 +764,7 @@ rec { fileSystems.${config.mountpoint} = { device = config.name; fsType = "zfs"; + options = lib.optional ((config.options.mountpoint or "") != "legacy") "zfsutil"; }; }); }; @@ -852,6 +853,7 @@ rec { fileSystems.${config.mountpoint} = { device = "${zpool}/${config.name}"; fsType = "zfs"; + options = lib.optional ((config.options.mountpoint or "") != "legacy") "zfsutil"; }; }; }; -- cgit v1.2.3