diff --git a/morph/lib/base.nix b/morph/lib/base.nix index 6731aaad36e4a7cfe95b0e7a47b66a585366530f..95b421e4255e4ebc6ad1346aae8943410ea6c73e 100644 --- a/morph/lib/base.nix +++ b/morph/lib/base.nix @@ -61,6 +61,17 @@ services.private-storage.monitoring.exporters.promtail.enable = true; + # Install no documentation on grid + # It seems 24.05 has some new defaults that aren't stripped away by the + # 'minimal' profile above. + # See https://github.com/NixOS/nixpkgs/blob/nixos-24.05/nixos/modules/misc/documentation.nix + documentation.enable = false; + documentation.man.enable = false; + documentation.info.enable = false; + documentation.doc.enable = false; + documentation.dev.enable = false; + documentation.nixos.enable = false; + assertions = [ # This is a check to save somebody in the future trying to debug why # setting `nixpkgs.config` is not having an effect.