forked from lix-project/lix
Subscribe to the Nixpkgs rather than NixOS channel
This commit is contained in:
parent
f5954e2d94
commit
477b0fbeca
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue