From 66c6d2c1dfd4b3ef222bb64d3ccef9be915e0895 Mon Sep 17 00:00:00 2001 From: pennae Date: Fri, 22 Sep 2023 20:55:05 +0200 Subject: initial commit without warranty of any kind, express or impliend --- default.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 default.nix (limited to 'default.nix') diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..52f4000 --- /dev/null +++ b/default.nix @@ -0,0 +1,19 @@ +{ pkgs ? import { config = {}; overlays = []; } +, configuration +}: + +let + evaluated = pkgs.lib.evalModules { + modules = [ + ./openwrt + configuration + ]; + specialArgs = { + inherit pkgs; + }; + }; +in + +pkgs.lib.mapAttrs + (_: dev: dev.build.deploy) + evaluated.config.openwrt -- cgit v1.2.3