diff --git a/modules/system.nix b/modules/system.nix index c49f0666..47c0fa37 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -146,6 +146,8 @@ in }; }; + documentation.man.generateCaches = mkIf (phone) false; + home-manager = { useGlobalPkgs = true; useUserPackages = true; @@ -155,7 +157,7 @@ in inherit (cfg) stateVersion; }; - programs.man.generateCaches = true; + programs.man.generateCaches = mkIf (!phone) true; }; users.${username}.home = {