global(fs): add zfs option

This commit is contained in:
514fpv 2024-08-17 20:08:02 +08:00
parent cb84a4d7ae
commit 7df8a87a51
Signed by: koishi
SSH key fingerprint: SHA256:i6TyMdSpIH+dGyo6hTa6wyF+9OHsFkBnmLdkGBPblgI

View file

@ -83,6 +83,7 @@ in {
fileSystems = (mapAttrs (path: dataset: { fileSystems = (mapAttrs (path: dataset: {
device = "${cfg.zfs.persist}/${dataset}"; device = "${cfg.zfs.persist}/${dataset}";
fsType = "zfs"; fsType = "zfs";
options = [ "zfsutil" ];
# required by impermanence # required by impermanence
neededForBoot = true; neededForBoot = true;
}) cfg.zfs.mountpoints) // { }) cfg.zfs.mountpoints) // {