From 8a3d370ed2fca3d08c29fcd122bea2c2576b892f Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 4 Feb 2024 16:22:28 +0300 Subject: [PATCH] Nix : Remove old nix channels. --- .config/bash/module/Nix.sh | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.config/bash/module/Nix.sh b/.config/bash/module/Nix.sh index cf90f13..f719cee 100644 --- a/.config/bash/module/Nix.sh +++ b/.config/bash/module/Nix.sh @@ -18,22 +18,6 @@ function nix_find() { fi } -# Switch to Unstable branch. -function nix_unstable() { - nix-channel --remove nixos - # 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 - - nix-channel --update -} - -# Display current channel. -function nix_channel() { - nix-channel --list -} - # Rebuild system. # Optionally force the hostname. # Usage: nix_rebuild [HOSTNAME]