From 51482ce83804ef5b1a4367e857216c0c506ec849 Mon Sep 17 00:00:00 2001 From: EuAndreh <eu@euandre.org> Date: Sun, 26 Feb 2023 18:06:50 -0300 Subject: bin/reconfigure: Fix detection if running in a Guix system --- bin/reconfigure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3