Fix mounts again

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

View file

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