feat: add liminix-rebuild in the shell
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
8a65248d66
commit
336bbcbcfc
3 changed files with 21 additions and 0 deletions
|
@ -1,4 +1,15 @@
|
||||||
jobs:
|
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:
|
bridge01:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
sources ? import ./npins,
|
sources ? import ./npins,
|
||||||
pkgs ? import sources.nixpkgs { },
|
pkgs ? import sources.nixpkgs { },
|
||||||
nix-pkgs ? import sources.nix-pkgs { inherit pkgs; },
|
nix-pkgs ? import sources.nix-pkgs { inherit pkgs; },
|
||||||
|
liminixHive ? import ./liminix-hive.nix { inherit sources; }
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -112,6 +113,8 @@ in
|
||||||
}))
|
}))
|
||||||
pkgs.npins
|
pkgs.npins
|
||||||
|
|
||||||
|
liminixHive.liminix.pkgs.pkgsBuildBuild.min-copy-closure
|
||||||
|
|
||||||
(pkgs.callPackage ./lib/colmena { inherit (nix-pkgs) colmena; })
|
(pkgs.callPackage ./lib/colmena { inherit (nix-pkgs) colmena; })
|
||||||
(pkgs.callPackage "${sources.agenix}/pkgs/agenix.nix" { })
|
(pkgs.callPackage "${sources.agenix}/pkgs/agenix.nix" { })
|
||||||
(pkgs.callPackage "${sources.lon}/nix/packages/lon.nix" { })
|
(pkgs.callPackage "${sources.lon}/nix/packages/lon.nix" { })
|
||||||
|
|
|
@ -30,6 +30,13 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
liminix.pkgs =
|
||||||
|
(import liminix {
|
||||||
|
device = zyxel.nwa50ax;
|
||||||
|
imageType = "primary";
|
||||||
|
liminix-config = ./machines/ap/configuration.nix;
|
||||||
|
}).pkgs;
|
||||||
|
devices = zyxel;
|
||||||
ap-test = evalLiminix {
|
ap-test = evalLiminix {
|
||||||
config = ./machines/ap/configuration.nix;
|
config = ./machines/ap/configuration.nix;
|
||||||
device = zyxel.nwa50ax;
|
device = zyxel.nwa50ax;
|
||||||
|
|
Loading…
Reference in a new issue