diff --git a/.forgejo/workflows/eval-nodes.yaml b/.forgejo/workflows/eval-nodes.yaml index 0b3ef71..35e7e0f 100644 --- a/.forgejo/workflows/eval-nodes.yaml +++ b/.forgejo/workflows/eval-nodes.yaml @@ -1,4 +1,15 @@ jobs: + ap: + runs-on: nix + steps: + - uses: actions/checkout@v3 + - env: + BUILD_NODE: ap + STORE_ENDPOINT: https://tvix-store.dgnum.eu/infra-signing/ + STORE_PASSWORD: ${{ secrets.STORE_PASSWORD }} + STORE_USER: admin + name: Build and cache ap + run: nix-shell -A eval-nodes --run cache-node bridge01: runs-on: nix steps: diff --git a/default.nix b/default.nix index fb1fa57..b8ebd43 100644 --- a/default.nix +++ b/default.nix @@ -38,6 +38,7 @@ sources ? import ./npins, pkgs ? import sources.nixpkgs { }, nix-pkgs ? import sources.nix-pkgs { inherit pkgs; }, + liminixHive ? import ./liminix-hive.nix { inherit sources; } }: let @@ -112,6 +113,8 @@ in })) pkgs.npins + liminixHive.liminix.pkgs.pkgsBuildBuild.min-copy-closure + (pkgs.callPackage ./lib/colmena { inherit (nix-pkgs) colmena; }) (pkgs.callPackage "${sources.agenix}/pkgs/agenix.nix" { }) (pkgs.callPackage "${sources.lon}/nix/packages/lon.nix" { }) diff --git a/liminix-hive.nix b/liminix-hive.nix index 563a9ce..94c65de 100644 --- a/liminix-hive.nix +++ b/liminix-hive.nix @@ -30,6 +30,13 @@ let }; in { + liminix.pkgs = + (import liminix { + device = zyxel.nwa50ax; + imageType = "primary"; + liminix-config = ./machines/ap/configuration.nix; + }).pkgs; + devices = zyxel; ap-test = evalLiminix { config = ./machines/ap/configuration.nix; device = zyxel.nwa50ax;