1
1
Fork 1
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:
oddlama 2024-04-06 15:36:40 +02:00
parent 55d3ad2bdc
commit 94ea46f680
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -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[@]}"
'';