[Nix-dev] The .nixpkgs/config.nix file and user configuration
Kamil Chmielewski
kamil.chm at gmail.com
Thu May 4 07:33:49 CEST 2017
Hi John,
you could find my https://github.com/kamilchm/.nixpkgs helpfull.
I use config.nix to manage user pacakges and dofiles and link them into ~
with simple script
https://github.com/kamilchm/.nixpkgs/blob/master/install.sh
Best regards,
Kamil
2017-05-04 3:55 GMT+02:00 John Ramsden <ramsdenj at shaw.ca>:
> Thanks, for the information.
>
> Marc Weber mentioned
>
> 1) you can install system wide (nixos-rebuild ..)
>> 2) you can install as user into ~/.nix-profile.nix
>>
>> ~/.config.nix is to "customize" user nixpkgs by
>> - setting settings such as allowUnfree
>> - override mplayer to use library X
>> - add your own packages FOO
>>
>
> In that case, if I did list my own packages in ~/.nix-profile.nix, would
> that install only into that user profile?
>
> When I run nixos-rebuild switch does that rebuild the user profiles as
> well?
>
> I don't like the idea of using nix-env, and I have strayed away from it on
> NixOS, the idea of having all my configuration explicitly written out in
> configuration files is part of what I like about Nix.
>
> ---
> John Ramsden
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170504/8a2cb00d/attachment.html>
More information about the nix-dev
mailing list