aboutsummaryrefslogtreecommitdiff
path: root/bin/reconfigure
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-01-14 16:53:20 -0300
committerEuAndreh <eu@euandre.org>2024-01-14 16:53:20 -0300
commit6755bec27fbaa2bd8cfb9e9f259083f8d3e41d5c (patch)
tree82abd197713399bcc0cdb79a0aaa9c70b88d90e2 /bin/reconfigure
parentbin/reconfigure: Assume we're always on Guix System (diff)
downloaddotfiles-6755bec27fbaa2bd8cfb9e9f259083f8d3e41d5c.tar.gz
dotfiles-6755bec27fbaa2bd8cfb9e9f259083f8d3e41d5c.tar.xz
bin/reconfigure: Always run bin(1) regardless of where this program ends
Diffstat (limited to 'bin/reconfigure')
-rwxr-xr-xbin/reconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reconfigure b/bin/reconfigure
index fe88549..9991304 100755
--- a/bin/reconfigure
+++ b/bin/reconfigure
@@ -85,6 +85,9 @@ if [ "$UPDATE" = true ]; then
fi
+trap 'bins > /dev/null' EXIT
+
+
HOSTNAME="$(hostname)"
pass show "$(hostname)"/andreh |
@@ -92,5 +95,3 @@ pass show "$(hostname)"/andreh |
sudo -ES guix system -v3 reconfigure "$XDG_CONFIG_HOME"/guix/system.scm
guix home -v3 reconfigure "$XDG_CONFIG_HOME"/guix/home.scm
-
-bins > /dev/null