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 9 additions and 0 deletions
Showing only changes of commit 17b2345a02 - Show all commits

View file

@ -37,6 +37,7 @@
let let
sources = import ./npins; sources = import ./npins;
pkgs = import sources.nixpkgs { }; pkgs = import sources.nixpkgs { };
liminixHive = import ./liminix-hive.nix { inherit sources; };
pre-commit-check = (import sources.pre-commit-hooks).run { pre-commit-check = (import sources.pre-commit-hooks).run {
src = ./.; src = ./.;
@ -77,6 +78,7 @@ in
npins npins
nixos-generators nixos-generators
attic-client attic-client
liminixHive.liminix.pkgs.pkgsBuildBuild.min-copy-closure
] ]
++ (builtins.map (p: callPackage p { }) [ ++ (builtins.map (p: callPackage p { }) [
(sources.disko + "/package.nix") (sources.disko + "/package.nix")

View file

@ -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;