diff --git a/modules/watch-me-senpai/default.nix b/modules/watch-me-senpai/default.nix deleted file mode 100644 index 9d1ca39..0000000 --- a/modules/watch-me-senpai/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ config, ... }: -let - mac_addr = "00:de:5b:f9:e2:3d"; -in -{ - imports = [ - ../TLMS/default.nix - ./secrets.nix - ]; - - sops.defaultSopsFile = ../../secrets/watch-me-senpai/secrets.yaml; - deployment-TLMS.net = { - iface.uplink = { - name = "eth0"; - mac = mac_addr; - matchOn = "mac"; - useDHCP = false; - addr4 = "192.168.92.49/42"; - dns = [ "8.8.8.8" "9.9.9.9" ]; - routes = [ - { - routeConfig = { - Gateway = "192.168.92.1"; - GatewayOnLink = true; - Destination = "0.0.0.0/0"; - }; - } - ]; - }; - wg = { - addr4 = "10.13.37.6"; - prefix4 = 24; - privateKeyFile = config.sops.secrets.wg-seckey.path; - publicKey = "aNd+oXT3Im3cA0EqK+xL+MRjIx4l7qcXZk+Pe2vmRS8="; - }; - - }; - - deployment-TLMS.domain = "dvb.solutions"; -} diff --git a/modules/watch-me-senpai/secrets.nix b/modules/watch-me-senpai/secrets.nix deleted file mode 100644 index 03bf73c..0000000 --- a/modules/watch-me-senpai/secrets.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ config, ... }: -{ - sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; - sops.secrets = { - wg-seckey = { - owner = config.users.users.systemd-network.name; - }; - }; -} diff --git a/modules/watch-me-senpai/wireguard_server.nix b/modules/watch-me-senpai/wireguard_server.nix deleted file mode 100644 index be4a2b0..0000000 --- a/modules/watch-me-senpai/wireguard_server.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ config, ... }: -let - port = 51820; -in -{ - boot.kernel.sysctl."net.ipv4.ip_forward" = 1; - - networking.firewall.allowedUDPPorts = [ port ]; - - deployment-TLMS.net = { - /* - iface.uplink = { - name = "ens3"; - mac = mac_addr; - matchOn = "mac"; - useDHCP = false; - addr4 = "172.20.73.70/25"; - dns = [ "172.20.73.8" "9.9.9.9" ]; - routes = [ - { - routeConfig = { - Gateway = "172.20.73.1"; - GatewayOnLink = true; - Destination = "0.0.0.0/0"; - }; - } - ]; - }; - */ - - wg = { - addr4 = "10.13.37.6"; - prefix4 = 24; - privateKeyFile = config.sops.secrets.wg-seckey.path; - publicKey = "aNd+oXT3Im3cA0EqK+xL+MRjIx4l7qcXZk+Pe2vmRS8="; - }; - }; - -}