devices/zyxel-nwa50ax: expose primary and secondary images

To support A/B a bit better.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius
2024-02-19 02:48:15 +01:00
parent 985f982435
commit d6ffdd7be6
6 changed files with 176 additions and 20 deletions

View File

@@ -3,6 +3,7 @@
, liminix-config ? <liminix-config>
, nixpkgs ? <nixpkgs>
, borderVmConf ? ./bordervm.conf.nix
, imageType ? "primary"
}:
let
@@ -30,6 +31,9 @@ let
./modules/s6
./modules/users.nix
./modules/outputs.nix
{
boot.imageType = imageType;
}
];
};
config = eval.config;