[Nix-dev] The .nixpkgs/config.nix file and user configuration

Marc Weber marco-oweber at gmx.de
Wed May 3 16:53:47 CEST 2017


> $HOME/.nixpkgs/config.nix file works.
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

See here:
http://stackoverflow.com/questions/36000514/how-to-override-2-two-packages-in-nixos-configuration-nix

Marc Weber


More information about the nix-dev mailing list