mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-16 09:47:54 +02:00
system: Don't generate man cache on mobile
Significantly improves build times with aarch64 emulation.
This commit is contained in:
@ -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 = {
|
||||||
|
Reference in New Issue
Block a user