1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/nixos/modules/programs
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
..
bash
command-not-found
zsh
atop.nix
blcr.nix
cdemu.nix
dconf.nix
environment.nix nixos: Add all of root's channels to NIX_PATH. 2015-04-12 23:50:20 +02:00
freetds.nix
ibus.nix Add ibus-qt. 2015-03-11 21:54:04 +01:00
info.nix
light.nix
nano.nix
screen.nix
shadow.nix sg: add setuid wrapper. (newgrp is a symlink to sg and was already setuid). 2015-03-30 23:50:45 +01:00
shell.nix
ssh.nix ssh: make askPassword an option 2015-03-11 11:49:29 -05:00
ssmtp.nix
uim.nix nixos/uim: capitalize description 2015-03-05 20:49:45 +03:00
venus.nix
virtualbox-host.nix
virtualbox.nix
wvdial.nix