mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
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; }
|
||||
HOSTS=()
|
||||
for h in "$@"; do
|
||||
HOSTS+=(".#nodes.$h.config.system.build.toplevel")
|
||||
HOSTS+=(".#nixosConfigurations.$h.config.system.build.toplevel")
|
||||
done
|
||||
nom build --no-link --print-out-paths --show-trace "''${HOSTS[@]}"
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue