From fbcf01d892f44bc7afbb497a36e4f91543db682d Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 31 Jan 2024 01:38:16 +0300 Subject: [PATCH] Nix : Add home-manager to nix_unstable. --- .config/bash/module/Nix.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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 }