diff options
author | pennae <pennae.git@eno.space> | 2023-09-22 20:55:05 +0200 |
---|---|---|
committer | pennae <pennae.git@eno.space> | 2023-09-22 21:06:55 +0200 |
commit | 66c6d2c1dfd4b3ef222bb64d3ccef9be915e0895 (patch) | |
tree | 0dde64acbdf9aa61134cdf066723bd731101f767 /default.nix | |
download | dewclaw-66c6d2c1dfd4b3ef222bb64d3ccef9be915e0895.tar.gz dewclaw-66c6d2c1dfd4b3ef222bb64d3ccef9be915e0895.tar.xz dewclaw-66c6d2c1dfd4b3ef222bb64d3ccef9be915e0895.zip |
initial commit
without warranty of any kind, express or impliend
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
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 <nixpkgs> { 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 |