diff options
author | EuAndreh <eu@euandre.org> | 2022-11-16 17:47:42 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-11-16 17:47:42 -0300 |
commit | cac1db89d774686d79873926687aa24065552d68 (patch) | |
tree | 0333aa76334214d97984500a30b8c7d8cd237556 | |
parent | etc/ssh/known_hosts: Add velhinho's localhost keys (diff) | |
download | dotfiles-cac1db89d774686d79873926687aa24065552d68.tar.gz dotfiles-cac1db89d774686d79873926687aa24065552d68.tar.xz |
Manage the Guix System without using root login
-rwxr-xr-x | bin/update | 12 | ||||
-rwxr-xr-x | bin/upgrade | 2 |
2 files changed, 2 insertions, 12 deletions
@@ -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 |