diff --git a/.config/bash/module/Nix.sh b/.config/bash/module/Nix.sh index 4ce4c4a..7452727 100644 --- a/.config/bash/module/Nix.sh +++ b/.config/bash/module/Nix.sh @@ -21,14 +21,11 @@ function nix_find() { # Switch to Unstable branch. function nix_unstable() { nix-channel --remove nixos - nix-channel --add https://nixos.org/channels/nixos-unstable nixos - nix-channel --update -} + nix-channel --remove home-manager + + nix-channel --add https://nixos.org/channels/nixos-unstable nixos + nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager -# Switch to Small Unstable branch (for server). -function nix_unstable_small() { - nix-channel --remove nixos - nix-channel --add https://nixos.org/channels/nixos-unstable-small nixos nix-channel --update }