mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Subscribe to the Nixpkgs rather than NixOS channel
This commit is contained in:
parent
f5954e2d94
commit
477b0fbeca
1 changed files with 2 additions and 2 deletions
|
@ -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