diff options
Diffstat (limited to 'bin/upgrade')
-rwxr-xr-x | bin/upgrade | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/upgrade b/bin/upgrade index 51c30c2..ba4fcc8 100755 --- a/bin/upgrade +++ b/bin/upgrade @@ -62,8 +62,10 @@ done shift $((OPTIND - 1)) +HOSTNAME="$(hostname)" + if [ -e /run/current-system/configuration.scm ]; then - pass show "$HOSTNAME"/andreh | + pass show "$(hostname)"/andreh | head -n1 | sudo -ES guix system -v3 reconfigure /run/current-system/configuration.scm fi |