"programs.foo.enable = true" vs "systemPackages=[foo]" is confusing

Thanks, this is definitely good information to know, and it should be included in the nixos docs up front.

Do you mind adding this recommendation over at Does my first-ever configuration.nix look alright? in case I’ve installed anything there that can be installed a better way (f.e. with programs.*.enable instead of systemPackages)?

Also, how do we search for what’s available in programs? Using nix search is the first thing that I learned from the docs, but this doesn’t tell me what’s available in programs.

2 Likes