forked from DGNum/infrastructure
feat: add liminix-rebuild in the shell
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
a5616579dd
commit
3aafc9d272
2 changed files with 9 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
let
|
||||
sources = import ./npins;
|
||||
pkgs = import sources.nixpkgs { };
|
||||
liminixHive = import ./liminix-hive.nix { inherit sources; };
|
||||
|
||||
pre-commit-check = (import sources.pre-commit-hooks).run {
|
||||
src = ./.;
|
||||
|
@ -76,6 +77,7 @@ in
|
|||
npins
|
||||
colmena
|
||||
nixos-generators
|
||||
liminixHive.liminix.pkgs.pkgsBuildBuild.min-copy-closure
|
||||
]
|
||||
++ (builtins.map (p: callPackage p { }) [ (sources.disko + "/package.nix") ])
|
||||
)
|
||||
|
|
|
@ -30,6 +30,13 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
liminix.pkgs =
|
||||
(import liminix {
|
||||
device = zyxel.nwa50ax;
|
||||
imageType = "primary";
|
||||
liminix-config = ./machines/ap/configuration.nix;
|
||||
}).pkgs;
|
||||
devices = zyxel;
|
||||
ap-test = evalLiminix {
|
||||
config = ./machines/ap/configuration.nix;
|
||||
device = zyxel.nwa50ax;
|
||||
|
|
Loading…
Reference in a new issue