mirror of
https://github.com/nix-community/disko.git
synced 2026-12-03 22:43:28 +01:00
config: add zfsutil to zfs datasets as appropriate
This commit is contained in:
1 parent
55197cfc55
commit
088b2a31d0
1 file changed
+2
@@ -764,6 +764,7 @@ rec {
|
|||||||
fileSystems.${config.mountpoint} = {
|
fileSystems.${config.mountpoint} = {
|
||||||
device = config.name;
|
device = config.name;
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
options = lib.optional ((config.options.mountpoint or "") != "legacy") "zfsutil";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@@ -852,6 +853,7 @@ rec {
|
|||||||
fileSystems.${config.mountpoint} = {
|
fileSystems.${config.mountpoint} = {
|
||||||
device = "${zpool}/${config.name}";
|
device = "${zpool}/${config.name}";
|
||||||
fsType = "zfs";
|
fsType = "zfs";
|
||||||
|
options = lib.optional ((config.options.mountpoint or "") != "legacy") "zfsutil";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user