Subscribe to the Nixpkgs rather than NixOS channel

This commit is contained in:
Eelco Dolstra 2012-07-25 16:56:56 -04:00
parent f5954e2d94
commit 477b0fbeca

View file

@ -19,9 +19,9 @@ fi
export PATH="$HOME/.nix-profile/bin:$PATH"
# Subscribe the root user to the NixOS channel by default.
# Subscribe the root user to the Nixpkgs channel by default.
if [ "$USER" = root -a ! -e $HOME/.nix-channels ]; then
echo "http://nixos.org/releases/nixos/channels/nixos-unstable nixos" > $HOME/.nix-channels
echo "http://nixos.org/releases/nixos/channels/nixpkgs-unstable nixpkgs" > $HOME/.nix-channels
fi
# Create the per-user garbage collector roots directory.