diff options
Diffstat (limited to 'files/.bin/home-reconfigure')
-rwxr-xr-x | files/.bin/home-reconfigure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/files/.bin/home-reconfigure b/files/.bin/home-reconfigure index f3a4e5f..4d16cc0 100755 --- a/files/.bin/home-reconfigure +++ b/files/.bin/home-reconfigure | |||
@@ -1,3 +1,9 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | JD_HOME=1 guix home -L $HOME/dotfiles/guix reconfigure $HOME/dotfiles/guix/jd/desktops/$(hostname).scm | 3 | if [ -n "$1" ]; then |
4 | guix home -L $1 reconfigure \ | ||
5 | -e '((@@ (jd utils) current-home))' | ||
6 | else | ||
7 | guix home reconfigure \ | ||
8 | -e '((@@ (jd utils) current-home))' | ||
9 | fi; | ||