feat: add liminix-rebuild in the shell

Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
Ryan Lahfa 2024-03-06 21:28:27 +01:00
parent fde8f66ea7
commit 17b2345a02
2 changed files with 9 additions and 0 deletions

View file

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

View file

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