From c787ff3a5c908ff7899f0595a746ea81d3859dc6 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Wed, 21 Apr 2021 00:58:30 +0300 Subject: [PATCH] chore: cleanup --- hosts/lungmen.nix | 2 -- profiles/network/nginx.nix | 35 ----------------------------------- 2 files changed, 37 deletions(-) delete mode 100644 profiles/network/nginx.nix diff --git a/hosts/lungmen.nix b/hosts/lungmen.nix index 2a8122e..76f9d3f 100644 --- a/hosts/lungmen.nix +++ b/hosts/lungmen.nix @@ -36,13 +36,11 @@ in ../users/patriot ../users/root ../profiles/network/networkmanager.nix - # ../profiles/network/nginx.nix ../profiles/develop (modulesPath + "/installer/scan/not-detected.nix") nixosPersistence ]; - #systemd.additionalUpstreamSystemUnits = [ "tmp.mount" ]; boot = { loader = { efi.canTouchEfiVariables = true; diff --git a/profiles/network/nginx.nix b/profiles/network/nginx.nix deleted file mode 100644 index 89bb8f4..0000000 --- a/profiles/network/nginx.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ ... }: { - # services.nginx = { - # enable = true; - # enableReload = true; - # statusPage = true; - # recommendedGzipSettings = true; - # recommendedOptimisation = true; - # recommendedProxySettings = true; - # recommendedTlsSettings = true; - # virtualHosts."yusdacras-host.ydns.eu" = { - # # addSSL = true; - # # enableACME = true; - # listen = [ - # { addr = "0.0.0.0"; port = 8080; } - # { addr = "[::]"; port = 8080; } - # # { addr = "0.0.0.0"; port = 8081; ssl = true; } - # ]; - # locations = { - # "/matrix" = { proxyPass = "http://localhost:8000"; }; - # "/page" = { - # root = "/var/www/yusdacras-host"; - # }; - # }; - # }; - # }; - - # security.acme = { - # acceptTerms = true; - # certs = { - # "yusdacras-host.ydns.eu".email = "y.bera003.06@protonmail.com"; - # }; - # }; - - # networking.firewall.allowedTCPPorts = [ 8000 8448 ]; -}