From a8630322f77dbb7be4810099a42352b9278996a1 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 1 Oct 2023 10:41:09 -0400 Subject: treewide!: flatten to parts/ layout --- hosts/turret/default.nix | 38 ----- hosts/turret/files/etc/config/dhcp | 55 ------- hosts/turret/files/etc/config/dropbear | 5 - hosts/turret/files/etc/config/firewall | 189 ------------------------ hosts/turret/files/etc/config/https-dns-proxy | 18 --- hosts/turret/files/etc/config/luci | 41 ----- hosts/turret/files/etc/config/network | 29 ---- hosts/turret/files/etc/config/rpcd | 10 -- hosts/turret/files/etc/config/system | 16 -- hosts/turret/files/etc/config/ucitrack | 56 ------- hosts/turret/files/etc/config/uhttpd | 31 ---- hosts/turret/files/etc/config/wireless | 34 ----- hosts/turret/files/etc/dropbear/authorized_keys | 1 - 13 files changed, 523 deletions(-) delete mode 100644 hosts/turret/default.nix delete mode 100644 hosts/turret/files/etc/config/dhcp delete mode 100644 hosts/turret/files/etc/config/dropbear delete mode 100644 hosts/turret/files/etc/config/firewall delete mode 100644 hosts/turret/files/etc/config/https-dns-proxy delete mode 100644 hosts/turret/files/etc/config/luci delete mode 100644 hosts/turret/files/etc/config/network delete mode 100644 hosts/turret/files/etc/config/rpcd delete mode 100644 hosts/turret/files/etc/config/system delete mode 100644 hosts/turret/files/etc/config/ucitrack delete mode 100644 hosts/turret/files/etc/config/uhttpd delete mode 100644 hosts/turret/files/etc/config/wireless delete mode 100644 hosts/turret/files/etc/dropbear/authorized_keys (limited to 'hosts/turret') diff --git a/hosts/turret/default.nix b/hosts/turret/default.nix deleted file mode 100644 index faac3d2..0000000 --- a/hosts/turret/default.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ - pkgs, - openwrt-imagebuilder, - ... -}: let - inherit (pkgs) runCommand; - inherit (pkgs.stdenv) mkDerivation; - inherit (openwrt-imagebuilder.lib) build profiles; - wrtProfiles = profiles { - inherit pkgs; - release = "22.03.3"; - }; - config = mkDerivation { - name = "openwrt-config-files"; - src = ./files; - installPhase = '' - mkdir -p $out - cp -r * $out/ - ''; - }; - image = - wrtProfiles.identifyProfile "netgear_wac104" - // { - packages = ["https-dns-proxy"]; - - files = runCommand "image-files" {} '' - mkdir -p $out/etc/uci-defaults - cat > $out/etc/uci-defaults/99-custom <