swag wildcard certs

This commit is contained in:
mjallen18
2024-07-27 19:48:19 -05:00
parent 9f4faaf05f
commit baa9134af9
5 changed files with 14 additions and 2 deletions

View File

@@ -34,6 +34,9 @@ in
"${toString cfg.httpsPort}:443"
"81:81"
];
extraOptions = [
"--cap-add=NET_ADMIN"
];
volumes = [ "${cfg.configPath}:/config" ];
environment = {
PUID = cfg.puid;
@@ -42,6 +45,7 @@ in
EMAIL = cfg.email;
URL = cfg.url;
VALIDATION = cfg.validation;
DNSPLUGIN = cfg.dnsPlugin;
SUBDOMAINS = cfg.subdomains;
DOCKER_MODS = "linuxserver/mods:swag-dashboard";
};

View File

@@ -61,12 +61,17 @@ with lib;
validation = mkOption {
type = types.str;
default = "http";
default = "dns";
};
dnsPlugin = mkOption {
type = types.str;
default = "cloudflare";
};
subdomains = mkOption {
type = types.str;
default = "jellyfin,jellyseerr,cloud,office,chat,hass,mealie";
default = "wildcard";
};
};
}