configuration.nix option nixpkgs.config is what ~/.nixpkgs/config.nix is for
the user in case you missed it.
Thus:
nixpkgs.config.allowUnfree = true;
nixpkgs.config.packageOverrides = p: ..
You don't have to use config.nix if this is all you need.
Marc Weber
__
1) misc.* is best looked by using ctagsWrapped on nixpkgs then looking
for misc. (or use grep)
You'll find pkgs/misc/misc.nix:
collection = {list, name} : runCommand "collection-${name}" {} ''
mkdir -p $out/nix-support
echo ${builtins.toString list} >
$out/nix-support/propaga
Using that repo, I have been able to reach what I was looking for: my
system config uses configuration.nix, just for the system, and internet
facing stuff, where I really want to follow the release channel to make
sure I use the latest.
For my user stuff, I now have a config.nix:
$ cat ~/.config/
On Wed, May 3, 2017, at 10:33 PM, Kamil Chmielewski wrote:
> 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> Be
$ cat ~/.config/nixpkgs/config.nix
with import {};
{
allowUnfree = true;
graphicCollection = misc.collection {
name = "foo" ;
packages = [
vlc
];
};
}
$ nix-env -i misc.collection.graphicCollection
error: selector ‘misc.collection.graphicCollect
Or ask google "nix/os/nixpkgs config.nix" to find samples and get
inspiration from
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev
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 :
> Thank
> I don't like the idea of using nix-env,
Why? You can also have your own declarative set of packages "per user".
that's also something config.nix can do:
graphicCollection = misc.collection { name = ... ; packages = [ ... . ]} (from
head)
nix-env -i graphicCollection
works well for me :)
Marc
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: d5751025569648a21adf3d2f0b425c85a0dffc67
https://github.com/NixOS/nixpkgs/commit/d5751025569648a21adf3d2f0b425c85a0dffc67
Author: Vaibhav Sagar
Date: 2017-05-04 (Thu, 04 May 2017)
Changed paths:
M
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 yo
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 65d06f33cc0a26030f716a5591be8f56f5fabe84
https://github.com/NixOS/nixpkgs/commit/65d06f33cc0a26030f716a5591be8f56f5fabe84
Author: Aneesh Agrawal
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
R
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: ee92506497620b5aa688610fb42fa3a6c212f5e6
https://github.com/NixOS/nixpkgs/commit/ee92506497620b5aa688610fb42fa3a6c212f5e6
Author: Tim Steinbach
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: af933bc7d37d4c971b60ca6deac77978a7c4f16b
https://github.com/NixOS/nixpkgs/commit/af933bc7d37d4c971b60ca6deac77978a7c4f16b
Author: Tim Steinbach
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 07b66093c91c14af33ede516293520f2b431973c
https://github.com/NixOS/nixpkgs/commit/07b66093c91c14af33ede516293520f2b431973c
Author: Benjamin Staffin
Date: 2017-05-02 (Tue, 02 May 2017)
Changed paths:
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: a162c6c8282036a009f3644b2d9e47e2c75ec107
https://github.com/NixOS/nixpkgs/commit/a162c6c8282036a009f3644b2d9e47e2c75ec107
Author: Michal Rus
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 9925c5c9b14ba4005a61d44afcff291dbd53120e
https://github.com/NixOS/nixpkgs/commit/9925c5c9b14ba4005a61d44afcff291dbd53120e
Author: Michal Rus
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M pkg
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 8bb7328300993dd5673c823121ee2c9670e2eed6
https://github.com/NixOS/nixpkgs/commit/8bb7328300993dd5673c823121ee2c9670e2eed6
Author: Zero King
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M pkgs
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 03c519b2e258d6fb6fc6d685c945fc2661a60cae
https://github.com/NixOS/nixpkgs/commit/03c519b2e258d6fb6fc6d685c945fc2661a60cae
Author: Stefan Lau
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M pkg
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: afa901d8c76682c10d7e51b1d6524a474e78c042
https://github.com/NixOS/nixpkgs/commit/afa901d8c76682c10d7e51b1d6524a474e78c042
Author: Théo Zimmermann
Date: 2017-05-03 (Wed, 03 May 2017)
Changed path
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: 978cae2c5faf86434aebc94ead504f8d844df927
https://github.com/NixOS/nixpkgs/commit/978cae2c5faf86434aebc94ead504f8d844df927
Author: Bjørn Forsman
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 493d4bd9490bd4a4b4cd5ad9dd62e9a01f94e84c
https://github.com/NixOS/nix/commit/493d4bd9490bd4a4b4cd5ad9dd62e9a01f94e84c
Author: Eelco Dolstra
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M perl/con
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 1124c0ff6bc9aa4bc2631aa0fe89b256b2958b71
https://github.com/NixOS/nixpkgs/commit/1124c0ff6bc9aa4bc2631aa0fe89b256b2958b71
Author: Pierre Radermecker
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Here's some links for reference:
* https://github.com/NixOS/nixpkgs/issues/1750
* https://github.com/sheenobu/nix-home
*
http://sandervanderburg.blogspot.com.au/2013/09/managing-user-environments-with-nix.html
*
https://www.reddit.com/r/NixOS/comments/5hd8ok/how_to_handle_nixos_and_i3_confi
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: f53fb189256b8c488bad81bbc5cb779df2493ee5
https://github.com/NixOS/nixpkgs/commit/f53fb189256b8c488bad81bbc5cb779df2493ee5
Author: Eelco Dolstra
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 20d846bcdd42698004a16f8ef1f181f1e102742d
https://github.com/NixOS/nixpkgs/commit/20d846bcdd42698004a16f8ef1f181f1e102742d
Author: Eelco Dolstra
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 61e57636944abfe52929f98b8f3e851eb09c41da
https://github.com/NixOS/nixpkgs/commit/61e57636944abfe52929f98b8f3e851eb09c41da
Author: Nikolay Amiantov
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
> $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 FO
Hi John,
I guess the reason you are not receiving many answers is that your
question highlights some misconceptions, and some design issues with nix.
There does not exist any declarative configuration file for user
environments. /etc/nixos/configuration.nix is amazing, but has not been
parte
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: d42aa83347c5ee8c26ea7471549feea8de4342ff
https://github.com/NixOS/nixpkgs/commit/d42aa83347c5ee8c26ea7471549feea8de4342ff
Author: Thomas Tuegel
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 72fb2a7edc169fa480f3a3d8da5a9fd263868491
https://github.com/NixOS/nix/commit/72fb2a7edc169fa480f3a3d8da5a9fd263868491
Author: Eelco Dolstra
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/libu
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: e73e5c884f5770110d99675db8495bb1535a6308
https://github.com/NixOS/nixpkgs/commit/e73e5c884f5770110d99675db8495bb1535a6308
Author: Leon Isenberg
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 4ea520ce4855ee06979fb62206b17499cb4f438a
https://github.com/NixOS/nixpkgs/commit/4ea520ce4855ee06979fb62206b17499cb4f438a
Author: Vladimír Čunát
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: 76296ce3a5553e0d6228451438be4f53a3e50791
https://github.com/NixOS/nixpkgs/commit/76296ce3a5553e0d6228451438be4f53a3e50791
Author: Peter Simons
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: 782c0bff45593e7116d9b17b7de71b7ee636a807
https://github.com/NixOS/nix/commit/782c0bff45593e7116d9b17b7de71b7ee636a807
Author: Eelco Dolstra
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M src/nix/
Branch: refs/heads/release-16.09
Home: https://github.com/NixOS/nixpkgs
Commit: 28dc5c7d221ac0e13b8f5761459829fdf43a223c
https://github.com/NixOS/nixpkgs/commit/28dc5c7d221ac0e13b8f5761459829fdf43a223c
Author: Bas van Dijk
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 5e5d16f425397fd7cb1b42256a0dc25e76e1b4bc
https://github.com/NixOS/nixpkgs/commit/5e5d16f425397fd7cb1b42256a0dc25e76e1b4bc
Author: Peter Simons
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M p
Branch: refs/heads/release-17.03
Home: https://github.com/NixOS/nixpkgs
Commit: 56fc82e4060c4dee22605544ce95d382eb702396
https://github.com/NixOS/nixpkgs/commit/56fc82e4060c4dee22605544ce95d382eb702396
Author: Domen Kožar
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: eacb230a564f95862701ecbf917261250372ef56
https://github.com/NixOS/nixpkgs/commit/eacb230a564f95862701ecbf917261250372ef56
Author: Domen Kožar
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M pk
Branch: refs/heads/master
Home: https://github.com/NixOS/patchelf
Commit: 2a9cefd7d637d160d12dc7946393778fa8abbc58
https://github.com/NixOS/patchelf/commit/2a9cefd7d637d160d12dc7946393778fa8abbc58
Author: Eelco Dolstra
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 017a72393917ff0696312ed415d9d06095f14e79
https://github.com/NixOS/nixpkgs/commit/017a72393917ff0696312ed415d9d06095f14e79
Author: Théo Zimmermann
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: d3dcdfa00691cfe6f6a939fde218f1980d3cf73c
https://github.com/NixOS/nix/commit/d3dcdfa00691cfe6f6a939fde218f1980d3cf73c
Author: Eelco Dolstra
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M release.
Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: a786d26dc27798a0d00b5433442c69815c8ba763
https://github.com/NixOS/nix/commit/a786d26dc27798a0d00b5433442c69815c8ba763
Author: regnat
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M doc/manual/comm
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 4b7caa7408eeddf3a1f5ef02262469221e1f6163
https://github.com/NixOS/nixpkgs/commit/4b7caa7408eeddf3a1f5ef02262469221e1f6163
Author: Peter Simons
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M p
Branch: refs/heads/staging
Home: https://github.com/NixOS/nixpkgs
Commit: bb6a5b079fe8c88a6e42c92179711b2d0a9a9842
https://github.com/NixOS/nixpkgs/commit/bb6a5b079fe8c88a6e42c92179711b2d0a9a9842
Author: Roger Qiu
Date: 2017-04-21 (Fri, 21 Apr 2017)
Changed paths:
M nix
Branch: refs/heads/python-wip
Home: https://github.com/NixOS/nixpkgs
Commit: 664ff4069cb87aa4ab94f0e885ed1dab127bee15
https://github.com/NixOS/nixpkgs/commit/664ff4069cb87aa4ab94f0e885ed1dab127bee15
Author: Frederik Rietdijk
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 664ff4069cb87aa4ab94f0e885ed1dab127bee15
https://github.com/NixOS/nixpkgs/commit/664ff4069cb87aa4ab94f0e885ed1dab127bee15
Author: Frederik Rietdijk
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/python-wip
Home: https://github.com/NixOS/nixpkgs
Commit: cebce78be926f936ac3bd3a9f813c961b5d2d4a4
https://github.com/NixOS/nixpkgs/commit/cebce78be926f936ac3bd3a9f813c961b5d2d4a4
Author: Cray Elliott
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: 52b1995250c5dd7443c69818d469ef7db0299ffd
https://github.com/NixOS/nixpkgs/commit/52b1995250c5dd7443c69818d469ef7db0299ffd
Author: Frederik Rietdijk
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: cebce78be926f936ac3bd3a9f813c961b5d2d4a4
https://github.com/NixOS/nixpkgs/commit/cebce78be926f936ac3bd3a9f813c961b5d2d4a4
Author: Cray Elliott
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
M p
Branch: refs/heads/master
Home: https://github.com/NixOS/nixpkgs
Commit: a6175a477cee80ae0dafeecc10fef2f200644de4
https://github.com/NixOS/nixpkgs/commit/a6175a477cee80ae0dafeecc10fef2f200644de4
Author: Frederik Rietdijk
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths:
Branch: refs/heads/python-wip
Home: https://github.com/NixOS/nixpkgs
Commit: 3dfa709706db3fcfb69c6907d2a29dca269caa0a
https://github.com/NixOS/nixpkgs/commit/3dfa709706db3fcfb69c6907d2a29dca269caa0a
Author: Frederik Rietdijk
Date: 2017-05-03 (Wed, 03 May 2017)
Changed paths
51 matches
Mail list logo