mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 15:01:57 +00:00
Updated justfile to allow updates with git submodules
This commit is contained in:
6
justfile
6
justfile
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user