fix(access): gensokyo

This commit is contained in:
arcnmx 2024-01-24 08:09:05 -08:00
parent fdfd6260c1
commit 228e2cf788
6 changed files with 17 additions and 6 deletions

View file

@ -4,7 +4,7 @@
...
}: let
inherit (lib.options) mkOption;
inherit (lib.modules) mkIf mkOptionDefault;
inherit (lib.modules) mkIf mkDefault mkOptionDefault;
cfg = config.services.plex;
access = config.services.nginx.access.plex;
in {
@ -53,11 +53,13 @@ in {
in {
${access.domain} = {
locations."/" = location;
kTLS = mkDefault true;
inherit extraConfig;
};
${access.localDomain} = {
local.enable = true;
locations."/" = location;
kTLS = mkDefault true;
inherit extraConfig;
};
};