From c7c66c55061df867c7af05c6c82ccbe6f498c330 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Fri, 20 Sep 2024 15:49:53 +0200 Subject: Change the way i reconfigure my system. --- files/.bin/home-reconfigure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'files/.bin/home-reconfigure') 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 @@ #!/bin/sh -JD_HOME=1 guix home -L $HOME/dotfiles/guix reconfigure $HOME/dotfiles/guix/jd/desktops/$(hostname).scm +if [ -n "$1" ]; then + guix home -L $1 reconfigure \ + -e '((@@ (jd utils) current-home))' +else + guix home reconfigure \ + -e '((@@ (jd utils) current-home))' +fi; -- cgit v1.2.3