while useGlobalPkgs=true
, nixpkgs.config
can be set without error message if nixpkgs.overlays
is null (and vice versa)
#6079
Labels
Description
When
home-manager.useGlobalPkgs = true
, settingnixpkgs.overlays
in the home configuration has no effect. I unknowingly haduseGlobalPkgs
enabled in my config and struggled for days with overlays not applying. There should be a warning emitted if a user tries to add an overlay to nixpkgs in their home configuration whileuseGlobalPkgs
is enabled, informing them of this relationship.The text was updated successfully, but these errors were encountered: