mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: immich internet access via vlan
This commit is contained in:
parent
e7971ccf6c
commit
0ff0828ca9
2 changed files with 5 additions and 3 deletions
|
@ -23,7 +23,6 @@ let
|
|||
crf = 23;
|
||||
gopSize = 0;
|
||||
maxBitrate = "0";
|
||||
npl = 0;
|
||||
preset = "ultrafast";
|
||||
refs = 0;
|
||||
targetAudioCodec = "aac";
|
||||
|
@ -178,7 +177,7 @@ in
|
|||
rules = [
|
||||
"iifname proxy-sentinel ip saddr ${sentinelCfg.wireguard.proxy-sentinel.ipv4} tcp dport 2283 accept"
|
||||
"iifname proxy-home ip saddr ${wardWebProxyCfg.wireguard.proxy-home.ipv4} tcp dport 2283 accept"
|
||||
"iifname podman1 oifname lan accept"
|
||||
"iifname podman1 oifname vlan-services accept"
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -117,7 +117,10 @@ in
|
|||
groups."immich.access" = { };
|
||||
systems.oauth2.immich = {
|
||||
displayName = "Immich";
|
||||
originUrl = "https://${globals.services.immich.domain}/auth/login";
|
||||
originUrl = [
|
||||
"https://${globals.services.immich.domain}/auth/login"
|
||||
"https://${globals.services.immich.domain}/api/oauth/mobile-redirect"
|
||||
];
|
||||
originLanding = "https://${globals.services.immich.domain}/";
|
||||
basicSecretFile = config.age.secrets.kanidm-oauth2-immich.path;
|
||||
preferShortUsername = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue