diff options
author | EuAndreh <eu@euandre.org> | 2023-02-26 18:06:50 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-26 18:06:50 -0300 |
commit | 51482ce83804ef5b1a4367e857216c0c506ec849 (patch) | |
tree | 39cc550843f774d99ff70a958b9df309b3304e67 /bin/reconfigure | |
parent | etc/guix/home.scm: s/upgrade/reconfigure/ in cronjob (diff) | |
download | dotfiles-51482ce83804ef5b1a4367e857216c0c506ec849.tar.gz dotfiles-51482ce83804ef5b1a4367e857216c0c506ec849.tar.xz |
bin/reconfigure: Fix detection if running in a Guix system
Diffstat (limited to 'bin/reconfigure')
-rwxr-xr-x | bin/reconfigure | 2 |
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 |