aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-16 17:47:42 -0300
committerEuAndreh <eu@euandre.org>2022-11-16 17:47:42 -0300
commitcac1db89d774686d79873926687aa24065552d68 (patch)
tree0333aa76334214d97984500a30b8c7d8cd237556
parentetc/ssh/known_hosts: Add velhinho's localhost keys (diff)
downloaddotfiles-cac1db89d774686d79873926687aa24065552d68.tar.gz
dotfiles-cac1db89d774686d79873926687aa24065552d68.tar.xz
Manage the Guix System without using root login
-rwxr-xr-xbin/update12
-rwxr-xr-xbin/upgrade2
2 files changed, 2 insertions, 12 deletions
diff --git a/bin/update b/bin/update
index 11ac73d..cc2412e 100755
--- a/bin/update
+++ b/bin/update
@@ -63,18 +63,8 @@ done
shift $((OPTIND - 1))
-guix pull &
-
-{
- pass show velhinho/0-andreh-password |
- head -n1 |
- sudo -iS guix pull
-} &
-
-wait
-
+guix pull
rfc -u
-newsboat -x reload
repos -e ~/dev/go/ -e ~/dev/quicklisp/ -e ~/dev/archive/ ~/dev/ |
xargs -I% -P4 x \
diff --git a/bin/upgrade b/bin/upgrade
index 52c019e..4447a3d 100755
--- a/bin/upgrade
+++ b/bin/upgrade
@@ -62,5 +62,5 @@ shift $((OPTIND - 1))
pass show velhinho/0-andreh-password |
head -n1 |
- sudo -iS guix system -v3 reconfigure /etc/guix/configuration.scm
+ sudo -ES guix system -v3 reconfigure /etc/guix/configuration.scm
guix home -v3 reconfigure "$XDG_CONFIG_HOME"/guix/home.scm