nixpkgs/nixos/modules
aszlig 65e569cc37
nixos: Add all of root's channels to NIX_PATH.
This is very useful if you want to distribute channels (and thus
expressions as well) in a similar fashion to Debians APT sources (or
PPAs or whatnot).

So, for example if you have a channel with some additional functions
or packages, you simply add that channel with:

sudo nix-channel --add https://example.com/my-nifty-channel foo

And you can access that channel using <foo>, for example in your
configuration.nix:

{
  imports = [ <foo/modules/shiny-little-module> ];
  environment.systemPackages = with import <foo/pkgs> {}; [ bar blah ];
  services.udev.extraRules = import <foo/lib/udev/mkrule.nix> {
    kernel = "eth*";
    attr.address = "00:1D:60:B9:6D:4F";
    name = "my_fast_network_card";
  };
}

Within nixpkgs, we shouldn't have <nixos> used anywhere anymore, so we
shouldn't get into conflicts.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-04-12 23:50:20 +02:00
..
config Merge rename.nix changes. 2015-04-03 23:12:12 +02:00
hardware nvidia: 346.47 -> 346.59 2015-04-07 13:24:55 -07:00
installer Revert "Set stricter permissions on /nix/store" 2015-04-07 15:10:41 +02:00
misc Fix #7252 - NixOS Manual: Carry the current system value to evaluation of the manual. 2015-04-08 23:14:19 +02:00
profiles nixos/base: Add efi management utilities 2015-01-07 01:52:47 -08:00
programs nixos: Add all of root's channels to NIX_PATH. 2015-04-12 23:50:20 +02:00
security Merge rename.nix changes. 2015-04-03 23:12:12 +02:00
services mpd: Make it possible to specify db file path 2015-04-10 23:10:14 +02:00
system Revert "Set stricter permissions on /nix/store" 2015-04-07 15:10:41 +02:00
tasks nixos/vfat: Readd fsck.reiserfs 2015-03-28 19:07:45 -07:00
testing test-instrumentation.nix: Prevent calling a pager 2015-01-15 14:39:29 +01:00
virtualisation Fix amazon default configuration.nix file. 2015-04-09 22:18:13 +02:00
module-list.nix Merge pull request #7181 from jagajaga/teamviewer 2015-04-06 14:13:07 +02:00
rename.nix Make environment.checkConfigurationOptions an alias 2015-04-10 16:11:07 +02:00