summaryrefslogtreecommitdiff
path: root/scripts/reconfigure-system
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/reconfigure-system')
-rwxr-xr-xscripts/reconfigure-system3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/reconfigure-system b/scripts/reconfigure-system
new file mode 100755
index 0000000..1e38b42
--- /dev/null
+++ b/scripts/reconfigure-system
@@ -0,0 +1,3 @@
+#!/bin/sh
+repo="$HOME/.config/guix"
+sudo -E guix system -L "$repo/modules" reconfigure "$repo/systems/$(hostname).scm"