diff options
author | EuAndreh <eu@euandre.org> | 2022-12-01 07:39:40 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-12-01 07:39:40 -0300 |
commit | 2d8181f1ce3765270312a8c15b8a8347a4ba1881 (patch) | |
tree | 916110323db2f9d2a331d21cb6e217e485854851 /bin | |
parent | etc/sh/rc: Update $BORG_PASSCOMMAND (diff) | |
download | dotfiles-2d8181f1ce3765270312a8c15b8a8347a4ba1881.tar.gz dotfiles-2d8181f1ce3765270312a8c15b8a8347a4ba1881.tar.xz |
bin/{gc,upgrade}: Fix path to store password
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gc | 4 | ||||
-rwxr-xr-x | bin/upgrade | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -79,8 +79,8 @@ disk() { gc_guix() { - pass show velhinho/0-andreh-password | head -n1 | sudo -iS guix system delete-generations - pass show velhinho/0-andreh-password | head -n1 | sudo -iS guix gc --optimize -d + pass show velhinho/andreh | head -n1 | sudo -iS guix system delete-generations + pass show velhinho/andreh | head -n1 | sudo -iS guix gc --optimize -d guix home delete-generations guix gc --optimize -d } diff --git a/bin/upgrade b/bin/upgrade index 94b30b1..62868b0 100755 --- a/bin/upgrade +++ b/bin/upgrade @@ -60,7 +60,7 @@ done shift $((OPTIND - 1)) -pass show velhinho/0-andreh-password | +pass show velhinho/andreh | head -n1 | sudo -ES guix system -v3 reconfigure /run/current-system/configuration.scm guix home -v3 reconfigure ~/.guix-home/configuration.scm |