feat(forgejo): masquerade and dnat sentinel:9922 to forgejo vm

This commit is contained in:
oddlama 2024-01-23 17:47:28 +01:00
parent 0abd08a7be
commit 7f8c5689e0
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
3 changed files with 26 additions and 0 deletions

View file

@ -148,6 +148,9 @@ in {
microvm.mem = 1024 * 12;
microvm.vcpu = 16;
# Forwarding required to masquerade podman network
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
# Mirror the original oauth2 secret
age.secrets.immich-oauth2-client-secret = {
inherit (nodes.ward-kanidm.config.age.secrets.kanidm-oauth2-immich) rekeyFile;