summaryrefslogtreecommitdiffstats
path: root/nix-utils.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nix-utils.sh')
-rw-r--r--nix-utils.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/nix-utils.sh b/nix-utils.sh
index de1f76f..ff4824f 100644
--- a/nix-utils.sh
+++ b/nix-utils.sh
@@ -143,6 +143,13 @@ current_channel_generation() {
}
#
+# Get the channel names
+#
+channel_names() {
+ sudo nix-channel --list | cut -d " " -f 1
+}
+
+#
# Ask the user whether to continue or not
#
continue_question() {