From cac1db89d774686d79873926687aa24065552d68 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 16 Nov 2022 17:47:42 -0300 Subject: Manage the Guix System without using root login --- bin/update | 12 +----------- bin/upgrade | 2 +- 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 -- cgit v1.2.3