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

@@ -213,6 +213,7 @@ in
gparted
grsync
kmod
kdePackages.ksvg
lact
nano
onlyoffice-bin

View File

@@ -58,6 +58,7 @@
# gamescope # using chaotic git version
# gamescope-wsi # using chaotic git version
bottles
chromium
deadnix
discord
fastfetch

View File

@@ -47,6 +47,7 @@ in
networks = {
"Joeys Jungle" = {
psk = password;
# extraConfig = "bssid_blacklist=34:60:F9:8F:FE:7B";
};
};
};

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";
};
};
}