aboutsummaryrefslogtreecommitdiff
path: root/bin/update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/update')
-rwxr-xr-xbin/update2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index 0768f6d..e59aeae 100755
--- a/bin/update
+++ b/bin/update
@@ -68,6 +68,8 @@ if [ -e /etc/nixos/configuration.nix ]; then
pass show "$HOSTNAME"/andreh |
head -n1 |
sudo -S nix-channel --update
+else
+ nix-channel --update
fi
guix pull -v3