forked from mirrors_public/oddlama_nix-config
fix(build): use .#nixosConfiguration over .#nodes
In the build script this allows us to share a cache with the deploy script
This commit is contained in:
parent
55d3ad2bdc
commit
94ea46f680
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@
|
||||||
|| { echo "usage: build <HOST>..." >&2; exit 1; }
|
|| { echo "usage: build <HOST>..." >&2; exit 1; }
|
||||||
HOSTS=()
|
HOSTS=()
|
||||||
for h in "$@"; do
|
for h in "$@"; do
|
||||||
HOSTS+=(".#nodes.$h.config.system.build.toplevel")
|
HOSTS+=(".#nixosConfigurations.$h.config.system.build.toplevel")
|
||||||
done
|
done
|
||||||
nom build --no-link --print-out-paths --show-trace "''${HOSTS[@]}"
|
nom build --no-link --print-out-paths --show-trace "''${HOSTS[@]}"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue