diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/p-body/default.nix | 3 | ||||
| -rw-r--r-- | hosts/p-body/nginx.nix | 27 |
2 files changed, 0 insertions, 30 deletions
diff --git a/hosts/p-body/default.nix b/hosts/p-body/default.nix index 569480c..ad88a7c 100644 --- a/hosts/p-body/default.nix +++ b/hosts/p-body/default.nix @@ -1,6 +1,5 @@ { config, - getchoo-website, guzzle_api, modulesPath, pkgs, @@ -29,8 +28,6 @@ hostName = "p-body"; }; - nixpkgs.overlays = [getchoo-website.overlays.default]; - services = { guzzle-api = { enable = true; diff --git a/hosts/p-body/nginx.nix b/hosts/p-body/nginx.nix index 3edd7b4..51d06ed 100644 --- a/hosts/p-body/nginx.nix +++ b/hosts/p-body/nginx.nix @@ -1,11 +1,9 @@ { config, - getchoo-website, pkgs, ... }: let inherit (config.networking) domain; - website = getchoo-website.packages.${pkgs.system}.default; in { networking.firewall.allowedTCPPorts = [80 443]; @@ -34,17 +32,6 @@ in { }; }; in { - "${domain}" = { - default = true; - enableACME = true; - serverAliases = ["www.${domain}"]; - - locations."/" = { - root = "${website}/libexec/getchoo-website/deps/getchoo-website/dist/"; - index = "index.html"; - }; - }; - "api.${domain}" = { enableACME = true; serverAliases = ["www.api.${domain}"]; @@ -59,20 +46,6 @@ in { locations = mkProxy "/" "3000"; }; - "status.${domain}" = { - enableACME = true; - serverAliases = ["www.status.${domain}"]; - locations."/" = { - root = - pkgs.writeTextDir "notindex.html" - '' - lol - ''; - index = "index.html"; - tryFiles = "$uri =404"; - }; - }; - "grafana.${domain}" = { enableACME = true; serverAliases = ["www.grafana.${domain}"]; |
