From 94ea46f68089d8f735fa3f392c53d4a3403ff47e Mon Sep 17 00:00:00 2001 From: oddlama Date: Sat, 6 Apr 2024 15:36:40 +0200 Subject: [PATCH] fix(build): use .#nixosConfiguration over .#nodes In the build script this allows us to share a cache with the deploy script --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index daff537..cbdc2ac 100644 --- a/flake.nix +++ b/flake.nix @@ -270,7 +270,7 @@ || { echo "usage: build ..." >&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[@]}" '';