nixpkgs/nixos
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
..
doc/manual nixos-install: support -j, --cores and --option. Closes #6755 2015-03-11 16:47:44 +00:00
lib VM tests: Don't produce output on failure 2015-04-10 11:18:30 +02:00
maintainers nixos/initrd: Generic library copying 2015-03-28 18:37:29 -07:00
modules nixos: Add all of root's channels to NIX_PATH. 2015-04-12 23:50:20 +02:00
tests nixos/tests/networking: Clean up and attempt to make more reliable 2015-04-10 23:23:53 -07:00
COPYING
default.nix
README
release-combined.nix nixos: Re-add swraid installer tests to releases. 2015-04-01 08:50:38 +02:00
release-small.nix Rename scrubDrv -> hydraJob and make it more effective 2015-03-20 19:46:18 +01:00
release.nix nixos/release: Test vbox on x86_64-linux only. 2015-04-04 17:16:57 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.