diff --git a/hosts/Infini-SERVER/default.nix b/hosts/Infini-SERVER/default.nix index ddfccc0..d4f3d09 100644 --- a/hosts/Infini-SERVER/default.nix +++ b/hosts/Infini-SERVER/default.nix @@ -60,37 +60,4 @@ "/root/.ssh/immutable_files.txt" ]; }; - - services = { - nginx = - let - cfg = config.services.nginx; - inherit (config.common.nginx) ssl; - in - { - enable = true; - - virtualHosts = { - "*.inx.moe" = ssl // { - listen = lib.flatten - (map - (addr: [ - { inherit addr; port = 443; ssl = true; } - { inherit addr; port = 80; ssl = false; } - ]) - cfg.defaultListenAddresses); - - globalRedirect = "inx.moe"; - }; - "nitter.inx.moe" = ssl // { - globalRedirect = "twitter.com"; - }; - }; - }; - }; - - networking.firewall = { - allowedUDPPorts = [ 80 443 ]; - allowedTCPPorts = [ 80 443 ]; - }; }