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
./fail2ban.nix
./forgejo.nix
./nginx.nix
];
}

View file

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

View file

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