Wasted a bunch of time only to find, in #NixOS, when `environment.noXlibs` is set (also part of the 'minimal' profile), it adds an overlay that may cause a rebuild of some large packages like ImageMagick, librsvg, libcamera, etc. Definitely not worth it on small servers!
@kosinus Seems like we need to introduce minimal-size and minimal-contents? What term would have clarified this?

@raito Tbh, I sometimes wonder about the purpose of profiles. I believe it was said somewhere that 'hardened' is an example, not something that should be directly used. Maybe that should apply to minimal as well? It's small enough any way.

That obviously doesn't apply to every profile, but I think making that distinction (example of not) is perhaps easier than maintaining more profiles.

@kosinus hardened is complicated because it's a matter of "your constraints" (threat model).

But that's trivially generalizable to everything and nixpkgs profiles are useful for internal consumption (e.g. VMs tests).

To be honest, I find those quite useful but they have deceptive semantics.

I think we evolved much faster than what the language / nixpkgs DSL offers in terms of customizability (e.g. overrides for NixOS modules), at the moment.