From c466fdad7b2fe9cbd36c80290616e537a967eb75 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Tue, 17 Jun 2025 12:29:11 +0100 Subject: [PATCH] refactor(user): make tmpfs Downloads configuration conditional on Linux --- lib/user.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/user.nix b/lib/user.nix index 86b71ba..cecec0f 100644 --- a/lib/user.nix +++ b/lib/user.nix @@ -11,7 +11,7 @@ roles_mod = (map (r: mkHomeRole r) roles); in { - fileSystems."/home/${name}/Downloads" = { + fileSystems."/home/${name}/Downloads" = pkgs.lib.mkIf stdenv.isLinux { device = "tmpfs"; fsType = "tmpfs"; options = [ "size=3G" ];