refactor(user): make tmpfs Downloads configuration conditional on Linux

This commit is contained in:
Giulio De Pasquale 2025-06-17 12:29:11 +01:00
parent 41bfe1fa53
commit c466fdad7b

View File

@ -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" ];