aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-12-01 07:39:40 -0300
committerEuAndreh <eu@euandre.org>2022-12-01 07:39:40 -0300
commit2d8181f1ce3765270312a8c15b8a8347a4ba1881 (patch)
tree916110323db2f9d2a331d21cb6e217e485854851
parentetc/sh/rc: Update $BORG_PASSCOMMAND (diff)
downloaddotfiles-2d8181f1ce3765270312a8c15b8a8347a4ba1881.tar.gz
dotfiles-2d8181f1ce3765270312a8c15b8a8347a4ba1881.tar.xz
bin/{gc,upgrade}: Fix path to store password
-rwxr-xr-xbin/gc4
-rwxr-xr-xbin/upgrade2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/gc b/bin/gc
index 60a6376..b156b08 100755
--- a/bin/gc
+++ b/bin/gc
@@ -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