about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--modules/server/dns/default.nix8
-rw-r--r--modules/workstation/networking/default.nix22
2 files changed, 2 insertions, 28 deletions
diff --git a/modules/server/dns/default.nix b/modules/server/dns/default.nix
index 6274d6b6b348..ae36f06a2f80 100644
--- a/modules/server/dns/default.nix
+++ b/modules/server/dns/default.nix
@@ -1,13 +1,7 @@
-{ pkgs, ... }:
+{ ... }:
 
 {
   networking.nameservers = [ "127.0.0.1" ];
 
   services.unbound.enable = true;
-
-  systemd.services.doh-proxy = {
-    after = [ "networking.target" ];
-    wantedBy = [ "multi-user.target" ];
-    script = "exec ${pkgs.doh-proxy}/bin/doh-httpproxy --port 4448";
-  };
 }
diff --git a/modules/workstation/networking/default.nix b/modules/workstation/networking/default.nix
index 85149c7f8f93..9560d75dd2a6 100644
--- a/modules/workstation/networking/default.nix
+++ b/modules/workstation/networking/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, config, ... }:
+{ config, ... }:
 
 {
   imports = [ ./castnow ];
@@ -24,25 +24,5 @@
 
   networking.nameservers = [ "::1" ];
 
-  networking.networkmanager.dispatcherScripts = [
-    {
-      source = pkgs.writeText "doh-stub" ''
-        if [ "$2" = up ]
-        then systemctl restart doh-stub.service
-        fi
-      '';
-      type = "basic";
-    }
-  ];
-
-  systemd.services.doh-stub = {
-    script = ''
-      exec ${pkgs.doh-proxy}/bin/doh-stub \
-          --level INFO \
-          --domain qyliss.net \
-          --remote-address 85.119.82.108
-    '';
-  };
-
   programs.mtr.enable = true;
 }