Updated justfile to allow updates with git submodules

This commit is contained in:
2025-01-22 17:39:42 +00:00
parent 49461edf71
commit 4a7b2a0ce9

View File

@@ -17,13 +17,13 @@ _update-root:
update-root: prebuild _update-root update-root: prebuild _update-root
install-home: install-home:
home-manager switch --flake .#$USER@core \ home-manager switch --flake .?submodules=1#$USER@core \
--extra-experimental-features nix-command \ --extra-experimental-features nix-command \
--extra-experimental-features flakes --extra-experimental-features flakes
_update-home: _update-home:
home-manager switch --flake .#$USER@$HOSTNAME \ home-manager switch --flake .?submodules=1#$USER@$HOSTNAME \
|| home-manager switch --flake .#$USER@core || home-manager switch --flake .?submodules=1#$USER@core
update-home: prebuild _update-home update-home: prebuild _update-home