diff options
Diffstat (limited to 'files/.bin/system-reconfigure')
-rwxr-xr-x | files/.bin/system-reconfigure | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/files/.bin/system-reconfigure b/files/.bin/system-reconfigure index c4c1a05..dae18f6 100755 --- a/files/.bin/system-reconfigure +++ b/files/.bin/system-reconfigure | |||
@@ -1,3 +1,10 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | sudo -E guix system -L $HOME/dotfiles/guix reconfigure $HOME/dotfiles/guix/jd/desktops/$(hostname).scm \ No newline at end of file | 3 | if [ -n "$1" ]; then |
4 | sudo -E guix system -L $1 reconfigure \ | ||
5 | -e '((@@ (jd utils) current-operating-system))' | ||
6 | else | ||
7 | sudo -E guix system reconfigure \ | ||
8 | -e '((@@ (jd utils) current-operating-system))' | ||
9 | fi; | ||
10 | |||