system: Don't generate man cache on mobile

Significantly improves build times with aarch64 emulation.
This commit is contained in:
Donovan Glover
2024-06-20 12:15:59 -04:00
parent 3a50316006
commit c48a01ae7f

View File

@ -144,6 +144,8 @@ in
}; };
}; };
documentation.man.generateCaches = mkIf (phone) false;
home-manager = { home-manager = {
useGlobalPkgs = true; useGlobalPkgs = true;
useUserPackages = true; useUserPackages = true;
@ -153,7 +155,7 @@ in
inherit (cfg) stateVersion; inherit (cfg) stateVersion;
}; };
programs.man.generateCaches = true; programs.man.generateCaches = mkIf (!phone) true;
}; };
users.${username}.home = { users.${username}.home = {