diff --git a/faucet/fs/default.nix b/faucet/fs/default.nix index 6cbdb9e7..fda65d1e 100644 --- a/faucet/fs/default.nix +++ b/faucet/fs/default.nix @@ -73,7 +73,12 @@ in { fileSystems."/nix/persist" = mkIf cfg.extPersist.enable { inherit (cfg.extPersist) device fsType options; neededForBoot = true; - depends = "/nix"; + depends = [ "/nix" ]; + }; + fileSystems."/tmp" = + { device = "/nix/tmp"; + options = [ "bind" ]; + depends = [ "/nix/tmp" ]; }; services.fstrim.enable = mkIf ((cfg.type == "ext4") || (cfg.type == "xfs")) true;