aboutsummaryrefslogtreecommitdiff
path: root/bin/update
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-13 21:03:50 -0300
committerEuAndreh <eu@euandre.org>2023-03-13 21:15:22 -0300
commit98aa808eab87f8a0c5eba55a544e24138ce065d8 (patch)
tree7ec56943c1efef5032a035d94ca43e7e16de2bfa /bin/update
parentetc/guix/home.scm: Use mailutils-sendmail from personal channel (diff)
downloaddotfiles-98aa808eab87f8a0c5eba55a544e24138ce065d8.tar.gz
dotfiles-98aa808eab87f8a0c5eba55a544e24138ce065d8.tar.xz
etc/guix/system.scm: Add Nix system service
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