aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/reconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reconfigure b/bin/reconfigure
index de31785..997243c 100755
--- a/bin/reconfigure
+++ b/bin/reconfigure
@@ -64,7 +64,7 @@ shift $((OPTIND - 1))
HOSTNAME="$(hostname)"
-if [ -e "$XDG_CONFIG_HOME"/guix/system.scm ]; then
+if [ -e /run/current-system/configuration.scm ]; then
pass show "$(hostname)"/andreh |
head -n1 |
sudo -ES guix system -v3 reconfigure "$XDG_CONFIG_HOME"/guix/system.scm