diff options
| author | Jörg Thalheim <joerg@thalheim.io> | 2022-09-05 17:26:48 +0200 |
|---|---|---|
| committer | Jörg Thalheim <joerg@thalheim.io> | 2022-09-05 17:26:48 +0200 |
| commit | 088b2a31d0a5fa5a6468737977cad8e60b42e24e (patch) | |
| tree | 8cef60bce3637f17a1d926f08587bfb5a13c3564 | |
| parent | 55197cfc55c345a3803ad312d70cae9cbaf38eb1 (diff) | |
config: add zfsutil to zfs datasets as appropriate
| -rw-r--r-- | types.nix | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"; }; }; }; |
