mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2025-12-22 15:01:57 +00:00
Updated justfile so nix directory can include submodules
This commit is contained in:
2
justfile
2
justfile
@@ -12,7 +12,7 @@ prebuild:
|
|||||||
|
|
||||||
_update-root:
|
_update-root:
|
||||||
if `/usr/bin/env grep -Rq "nixos" /etc/*-release`; then \
|
if `/usr/bin/env grep -Rq "nixos" /etc/*-release`; then \
|
||||||
sudo nixos-rebuild switch --flake .#$HOSTNAME; \
|
sudo nixos-rebuild switch --flake .?submodules=1#$HOSTNAME; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
update-root: prebuild _update-root
|
update-root: prebuild _update-root
|
||||||
|
|||||||
Reference in New Issue
Block a user