Compare commits

...

4 commits

Author SHA1 Message Date
6da6cc678a
comment forgejo actions runner 2025-08-06 21:09:31 +02:00
b415e5d597
nginx group acme 2025-08-06 21:07:40 +02:00
7cfcf39209
unforce ssl 2025-08-06 21:07:19 +02:00
2feb245231
try more firewall holes 2025-08-06 21:06:53 +02:00
2 changed files with 6 additions and 5 deletions

View file

@ -39,7 +39,7 @@ in
_class = "nixos"; _class = "nixos";
imports = [ imports = [
./forgejo-actions-runner.nix # ./forgejo-actions-runner.nix
./woodpecker.nix ./woodpecker.nix
]; ];

View file

@ -15,6 +15,8 @@
woodpecker-agent-docker = { }; woodpecker-agent-docker = { };
}; };
users.users.nginx.extraGroups = [ "acme" ];
age.secrets = age.secrets =
lib.mapAttrs lib.mapAttrs
(_: group: { (_: group: {
@ -175,10 +177,7 @@
recommendedTlsSettings = true; recommendedTlsSettings = true;
virtualHosts."woodpecker.fediversity.eu" = { virtualHosts."woodpecker.fediversity.eu" = {
enableACME = true; enableACME = true;
forceSSL = true; # forceSSL = true;
locations."/.well-known/acme-challenge/" = {
root = "/var/lib/acme/woodpecker.fediversity.eu";
};
locations."/" = { locations."/" = {
recommendedProxySettings = true; recommendedProxySettings = true;
proxyPass = "http://127.0.0.1:8000"; proxyPass = "http://127.0.0.1:8000";
@ -211,6 +210,8 @@
22 22
80 80
443 443
8000
9000
]; ];
# needed for podman to be able to talk over dns # needed for podman to be able to talk over dns
interfaces."podman+" = { interfaces."podman+" = {