feat: enable liminix-rebuild
All checks were successful
lint / check (push) Successful in 26s
build configuration / build_vault01 (pull_request) Successful in 1m5s
build configuration / build_storage01 (pull_request) Successful in 1m9s
build configuration / build_compute01 (pull_request) Successful in 1m12s
build configuration / build_web02 (pull_request) Successful in 54s
build configuration / build_web01 (pull_request) Successful in 1m32s
build configuration / build_rescue01 (pull_request) Successful in 51s

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-03-06 21:50:45 +01:00
parent 3aafc9d272
commit cb02eba0a2
2 changed files with 12 additions and 18 deletions

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