Nix : Add home-manager to nix_unstable.
This commit is contained in:
parent
abd7ded437
commit
fbcf01d892
|
@ -21,14 +21,11 @@ function nix_find() {
|
||||||
# Switch to Unstable branch.
|
# Switch to Unstable branch.
|
||||||
function nix_unstable() {
|
function nix_unstable() {
|
||||||
nix-channel --remove nixos
|
nix-channel --remove nixos
|
||||||
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
nix-channel --remove home-manager
|
||||||
nix-channel --update
|
|
||||||
}
|
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
|
nix-channel --update
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue