diff --git a/flake.nix b/flake.nix index f4d140a..d8c36b9 100644 --- a/flake.nix +++ b/flake.nix @@ -61,6 +61,7 @@ ./shell.nix ./machines + ./routers ./inventories ./modules/clan/flake-module.nix ]; diff --git a/routers/default.nix b/routers/default.nix index ffcd441..12812d9 100644 --- a/routers/default.nix +++ b/routers/default.nix @@ -1 +1,21 @@ -{ } +{ inputs, ... }: +{ + flake.legacyPackages = { + qemu-router = import "${inputs.liminix}/default.nix" { + liminix-config = import "${inputs.liminix}/examples/hello-from-qemu.nix"; + device = (import "${inputs.liminix}/devices/qemu-aarch64/default.nix"); + }; + yada-router = import "${inputs.liminix}/default.nix" { + liminix-config = import ./routers/yada-house/configuration.nix { inherit inputs; }; + device = (import ./routers/yada-house/device.nix { inherit inputs; }); + }; + qemu-flake = import "${inputs.liminix}/default.nix" { + liminix-config = import ./routers/qemu/configuration.nix { inherit inputs; }; + device = (import ./routers/qemu/device.nix { inherit inputs; }); + }; + vanilla = import "${inputs.liminix}/default.nix" { + liminix-config = import ./routers/vanilla/configuration.nix { inherit inputs; }; + device = (import "${inputs.liminix}/devices/gl-mt300a/default.nix"); + }; + }; +}