diff --git a/flake.nix b/flake.nix index 3b514e0..a38127b 100644 --- a/flake.nix +++ b/flake.nix @@ -292,10 +292,12 @@ inherit device subvolumes; }) ({ lib, ... }: { - fileSystems."${mountDir}" = lib.mkForce { - inherit device; - fsType = "btrfs"; - options = [ "defaults" "compress=zstd" "rw" "loop" ]; + fileSystems = lib.mkForce { + "${mountDir}" = { + inherit device; + fsType = "btrfs"; + options = [ "defaults" "compress=zstd" "rw" "loop" ]; + }; }; }) ]; @@ -466,10 +468,12 @@ ''; }; - fileSystems."${mountDir}" = lib.mkForce { - inherit device; - fsType = "btrfs"; - options = [ "defaults" "compress=zstd" "rw" ]; + fileSystems = lib.mkForce { + "${mountDir}" = { + inherit device; + fsType = "btrfs"; + options = [ "defaults" "compress=zstd" "rw" ]; + }; }; }) ];