🐛 don't always init chezmoi

This commit is contained in:
walkah committed 2024-10-03 21:46:45 -04:00
1 parent d9b0c54edc
commit 732720117d
2 files changed
+15 -13

No files matched your search

+3 -1
View File
@@ -16,7 +16,9 @@
activation.chezmoi = lib.hm.dag.entryAfter [ "installPackages" ] ''
export PATH="${pkgs.git}/bin:$PATH"
$DRY_RUN_CMD ${pkgs.chezmoi}/bin/chezmoi init --apply walkah/dotfiles
if [ ! -d $HOME/.local/share/chezmoi ]; then
$DRY_RUN_CMD ${pkgs.chezmoi}/bin/chezmoi init --apply walkah/dotfiles
fi
'';
stateVersion = "24.05";