Emit a warning when attempting to set nixpkgs.overlays
while home-manager.useGlobalPkgs = true
#6079
Labels
nixpkgs.overlays
while home-manager.useGlobalPkgs = true
#6079
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: