Updated justfile so nix directory can include submodules

This commit is contained in:
2025-04-14 16:46:08 +01:00
parent 0272eac402
commit 8adfe8ad50

View File

@@ -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