Nix : Fix channel switch.

This commit is contained in:
Dmitry Voronin 2024-01-25 19:49:45 +03:00
parent 9f9e67bd5e
commit 759670d9e9

View file

@ -22,12 +22,14 @@ function nix_find() {
function nix_unstable() {
nix-channel --remove nixos
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
nix-channel --update
}
# 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
}
# Display current channel.