feat: init AP management via Colmena and Liminix #110

Open
rlahfa wants to merge 28 commits from colmena-liminix into main
2 changed files with 12 additions and 18 deletions
Showing only changes of commit aa6b082b81 - Show all commits

View file

@ -6,24 +6,18 @@
}:
let
evalLiminix =
{ config, device }:
{
config,
device,
output,
}:
{
primary =
(import liminix {
inherit device nixpkgs;
imageType = "primary";
liminix-config = config;
}).outputs.${output};
secondary =
(import liminix {
inherit device nixpkgs;
imageType = "secondary";
liminix-config = config;
}).outputs.${output};
primary = import liminix {
inherit device nixpkgs;
imageType = "primary";
liminix-config = config;
};
secondary = import liminix {
inherit device nixpkgs;
imageType = "secondary";
liminix-config = config;
};
};
zyxel = {
nwa50ax = import "${liminix}/devices/zyxel-nwa50ax";
@ -40,6 +34,5 @@ in
ap-test = evalLiminix {
config = ./machines/ap/configuration.nix;
device = zyxel.nwa50ax;
output = "zyxel-nwa-fit";
};
}

1
liminix-rebuild.nix Normal file
View file

@ -0,0 +1 @@
{ liminix-system }: (import ./liminix-hive.nix { }).${liminix-system}.primary