From a18298b6de005d7a8dff3cb26b98ac874e246729 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 13 May 2024 07:24:41 +0100 Subject: [PATCH] Switch git-sync-all /etc/nixos -> ~/.config/nixos --- scripts/shell/git-sync-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shell/git-sync-all.sh b/scripts/shell/git-sync-all.sh index ef170ac..5093de0 100755 --- a/scripts/shell/git-sync-all.sh +++ b/scripts/shell/git-sync-all.sh @@ -28,7 +28,7 @@ done # Pull NixOS, home-manager and Emacs configs if simple fast-forward PULL_DIRS=( - "/etc/nixos" + "${XDG_CONFIG_HOME:-$HOME/.config}/nixos" "${XDG_CONFIG_HOME:-$HOME/.config}/home-manager" "${XDG_CONFIG_HOME:-$HOME/.config}/emacs" )