aboutsummaryrefslogtreecommitdiff
path: root/bin/reconfigure
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-01-14 16:52:49 -0300
committerEuAndreh <eu@euandre.org>2024-01-14 16:52:49 -0300
commit76a008b33c27109bf32d588bf8304fbaaa21e8f4 (patch)
tree7561a7b1a9d9113ec490353b6c93e03b225b4a94 /bin/reconfigure
parentbin/volume: Fix rotation beyond 2 sinks (diff)
downloaddotfiles-76a008b33c27109bf32d588bf8304fbaaa21e8f4.tar.gz
dotfiles-76a008b33c27109bf32d588bf8304fbaaa21e8f4.tar.xz
bin/reconfigure: Assume we're always on Guix System
Diffstat (limited to 'bin/reconfigure')
-rwxr-xr-xbin/reconfigure8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/reconfigure b/bin/reconfigure
index 58ed772..fe88549 100755
--- a/bin/reconfigure
+++ b/bin/reconfigure
@@ -87,11 +87,9 @@ fi
HOSTNAME="$(hostname)"
-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
-fi
+pass show "$(hostname)"/andreh |
+ head -n1 |
+ sudo -ES guix system -v3 reconfigure "$XDG_CONFIG_HOME"/guix/system.scm
guix home -v3 reconfigure "$XDG_CONFIG_HOME"/guix/home.scm