nix-community / nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius]
Other
851 stars 48 forks source link

README: home-manager uses initExtra #122

Closed wmertens closed 1 year ago

bennofs commented 4 years ago

Thanks for the PR! The new version would be broken in configuration.nix though, right? So maybe we should keep both versions (perhaps leave one commented out with a message explaining it?)

wmertens commented 4 years ago

No idea actually, I only added it to home.nix

equirosa commented 2 years ago

I just checked, and yes, the NixOS configuration uses programs.bash.interactiveShellInit; so it'd be optimal to specify one for home-manager and another for NixOS, if that's ok :)

bennofs commented 1 year ago

I added a comment to the configuration in 9de4d51f5e744b3790a026c53cdccb8dbc10bbf1 for home-manager.