refactor: remove unnecessary nginx module

This commit is contained in:
Kiana Sheibani 2024-07-26 23:46:27 -04:00
parent 8130687446
commit 1d585f14a4
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
3 changed files with 1 additions and 5 deletions

View file

@ -4,6 +4,5 @@
./acme.nix ./acme.nix
./fail2ban.nix ./fail2ban.nix
./forgejo.nix ./forgejo.nix
./nginx.nix
]; ];
} }

View file

@ -3,6 +3,7 @@ let
cfg = config.services.forgejo; cfg = config.services.forgejo;
srv = cfg.settings.server; srv = cfg.settings.server;
in { in {
services.nginx.enable = true;
services.nginx.virtualHosts.${srv.DOMAIN} = { services.nginx.virtualHosts.${srv.DOMAIN} = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;

View file

@ -1,4 +0,0 @@
{ ... }:
{
services.nginx.enable = true;
}