From 1ca5dbf7751f96444fd9fca5e121ce96133ed7f9 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Fri, 10 Oct 2025 14:39:46 +0700 Subject: [PATCH] mob next [ci-skip] [ci skip] [skip ci] lastFile:flake.nix --- flake.nix | 1 + routers/default.nix | 22 +++++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) 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"); + }; + }; +}