feat: add liminix-rebuild in the shell
All checks were successful
lint / check (push) Successful in 27s
build configuration / build_vault01 (pull_request) Successful in 1m8s
build configuration / build_storage01 (pull_request) Successful in 1m13s
build configuration / build_compute01 (pull_request) Successful in 1m19s
build configuration / build_web02 (pull_request) Successful in 52s
build configuration / build_web01 (pull_request) Successful in 1m31s
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:28:27 +01:00
parent a5616579dd
commit 3aafc9d272
2 changed files with 9 additions and 0 deletions

View file

@ -36,6 +36,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 = ./.;
@ -76,6 +77,7 @@ in
npins npins
colmena colmena
nixos-generators nixos-generators
liminixHive.liminix.pkgs.pkgsBuildBuild.min-copy-closure
] ]
++ (builtins.map (p: callPackage p { }) [ (sources.disko + "/package.nix") ]) ++ (builtins.map (p: callPackage p { }) [ (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;