Fix mounts again

This commit is contained in:
asonix 2023-03-03 21:08:13 -06:00
parent d77d56a51a
commit 4c4e34d39c

View file

@ -292,11 +292,13 @@
inherit device subvolumes; inherit device subvolumes;
}) })
({ lib, ... }: { ({ lib, ... }: {
fileSystems."${mountDir}" = lib.mkForce { fileSystems = lib.mkForce {
"${mountDir}" = {
inherit device; inherit device;
fsType = "btrfs"; fsType = "btrfs";
options = [ "defaults" "compress=zstd" "rw" "loop" ]; options = [ "defaults" "compress=zstd" "rw" "loop" ];
}; };
};
}) })
]; ];
}; };
@ -466,11 +468,13 @@
''; '';
}; };
fileSystems."${mountDir}" = lib.mkForce { fileSystems = lib.mkForce {
"${mountDir}" = {
inherit device; inherit device;
fsType = "btrfs"; fsType = "btrfs";
options = [ "defaults" "compress=zstd" "rw" ]; options = [ "defaults" "compress=zstd" "rw" ];
}; };
};
}) })
]; ];
}; };