some cleanup

This commit is contained in:
Grimmauld 2023-12-31 08:57:22 +00:00
parent 596b60652a
commit ebd3e49554
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ in {
forceSSL = true; forceSSL = true;
useACMEHost = root_host; useACMEHost = root_host;
locations."/" = { locations."/" = {
proxyPass = "http://127.0.0.1:${builtins.toString gitea_port}"; proxyPass = "http://127.0.0.1:${builtins.toString config.services.gitea.settings.server.HTTP_PORT}";
}; };
}; };
}; };

View file

@ -11,8 +11,8 @@ in {
PUFFER_WEB_HOST = ":${builtins.toString puffer_port}"; PUFFER_WEB_HOST = ":${builtins.toString puffer_port}";
PUFFER_DAEMON_SFTP_HOST = ":${builtins.toString puffer_sftp_port}"; PUFFER_DAEMON_SFTP_HOST = ":${builtins.toString puffer_sftp_port}";
}; };
extraPackages = with pkgs; [ jdk17_headless ]; extraPackages = with pkgs; [];
extraGroups = [ "podman" "docker" ]; extraGroups = [ "docker" ];
}; };
services.nginx = { services.nginx = {
@ -29,7 +29,7 @@ in {
security.acme.certs."${root_host}".extraDomainNames = [ puffer_host ]; security.acme.certs."${root_host}".extraDomainNames = [ puffer_host ];
networking.firewall.allowedTCPPorts = [ puffer_sftp_port 25565 ]; networking.firewall.allowedTCPPorts = [ puffer_sftp_port 25565 ];
virtualisation.podman.enable = true; # virtualisation.podman.enable = true;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
} }