diff --git a/hosts/servers/hosting-02.nix b/hosts/servers/hosting-02.nix index b6eb4d8..83af31b 100644 --- a/hosts/servers/hosting-02.nix +++ b/hosts/servers/hosting-02.nix @@ -23,7 +23,6 @@ publicKey = "KkShcqgwbkX2A9n1hhST6qu+m3ldxdJ2Lx8Eiw6mdXw="; endpoint = "146.70.117.226:51820"; privateKeyFile = config.sops.secrets.wireguardKey.path; - dns = "10.64.0.1"; }; services.storagebox = { @@ -68,24 +67,6 @@ }; }; - services.gonic = { - enable = true; - settings = { - music-path = [ "/data/music" ]; - podcast-path = [ "/data/podcast" ]; - playlists-path = [ "/data/playlists" ]; - }; - }; - - services.nginx.virtualHosts."music.escapeangle.com" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://localhost:4747"; - proxyWebsockets = true; - }; - }; - sops = { defaultSopsFile = ./hosting-02.yaml; secrets = { diff --git a/modules/nixos/namespaced-vpn.nix b/modules/nixos/namespaced-vpn.nix index e95e2c0..b6f7a2a 100644 --- a/modules/nixos/namespaced-vpn.nix +++ b/modules/nixos/namespaced-vpn.nix @@ -47,11 +47,6 @@ in type = types.str; default = "10.10.10.2/30"; }; - - dns = mkOption { - type = types.str; - default = "9.9.9.9"; - }; }; config = mkIf cfg.enable { @@ -143,10 +138,5 @@ in }; }; - environment.etc."netns/${cfg.namespace}/resolv.conf" = { - text = '' - nameserver ${cfg.dns} - ''; - }; }; }