From 4c4e34d39c40e6610986ae7dae8e836b4858ee9d Mon Sep 17 00:00:00 2001 From: asonix Date: Fri, 3 Mar 2023 21:08:13 -0600 Subject: [PATCH] Fix mounts again --- flake.nix | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) 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" ]; + }; }; }) ];