feat: enable liminix-rebuild
Signed-off-by: Ryan Lahfa <ryan@dgnum.eu>
This commit is contained in:
parent
17b2345a02
commit
aa6b082b81
2 changed files with 12 additions and 18 deletions
|
@ -6,24 +6,18 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
evalLiminix =
|
evalLiminix =
|
||||||
|
{ config, device }:
|
||||||
{
|
{
|
||||||
config,
|
primary = import liminix {
|
||||||
device,
|
|
||||||
output,
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
primary =
|
|
||||||
(import liminix {
|
|
||||||
inherit device nixpkgs;
|
inherit device nixpkgs;
|
||||||
imageType = "primary";
|
imageType = "primary";
|
||||||
liminix-config = config;
|
liminix-config = config;
|
||||||
}).outputs.${output};
|
};
|
||||||
secondary =
|
secondary = import liminix {
|
||||||
(import liminix {
|
|
||||||
inherit device nixpkgs;
|
inherit device nixpkgs;
|
||||||
imageType = "secondary";
|
imageType = "secondary";
|
||||||
liminix-config = config;
|
liminix-config = config;
|
||||||
}).outputs.${output};
|
};
|
||||||
};
|
};
|
||||||
zyxel = {
|
zyxel = {
|
||||||
nwa50ax = import "${liminix}/devices/zyxel-nwa50ax";
|
nwa50ax = import "${liminix}/devices/zyxel-nwa50ax";
|
||||||
|
@ -40,6 +34,5 @@ in
|
||||||
ap-test = evalLiminix {
|
ap-test = evalLiminix {
|
||||||
config = ./machines/ap/configuration.nix;
|
config = ./machines/ap/configuration.nix;
|
||||||
device = zyxel.nwa50ax;
|
device = zyxel.nwa50ax;
|
||||||
output = "zyxel-nwa-fit";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
1
liminix-rebuild.nix
Normal file
1
liminix-rebuild.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{ liminix-system }: (import ./liminix-hive.nix { }).${liminix-system}.primary
|
Loading…
Reference in a new issue