mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 20:30:05 +00:00
🐛 Tons of type and bug fixes (thanks language server for not working)
This commit is contained in:
parent
d2633457a5
commit
cc5ba78ddb
11 changed files with 87 additions and 25 deletions
|
@ -4,14 +4,15 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
inherit (lib) mkEnableOption mkIf types;
|
||||
inherit (self) namespace;
|
||||
inherit (self.lib) mkOpt;
|
||||
|
||||
cfg = config.${namespace}.services.traefik;
|
||||
in {
|
||||
options.${namespace}.services.traefik = {
|
||||
enable = mkEnableOption "the Traefik service.";
|
||||
sopsFile = mkOpt types.str null "The location of the sops secret file for the Traefik service.";
|
||||
sopsFile = mkOpt types.path null "The location of the sops secret file for the Traefik service.";
|
||||
sopsFormat = mkOpt types.str null "The format of the sops secret file for the Traefik service.";
|
||||
};
|
||||
|
||||
|
@ -57,7 +58,7 @@ in {
|
|||
certificatesResolvers = {
|
||||
letsencrypt = {
|
||||
acme = {
|
||||
email = cfg.cloudflareEmail;
|
||||
email = config.${namespace}.services.mail;
|
||||
storage = "/var/lib/traefik/acme.json";
|
||||
#caServer = "https://acme-staging-v02.api.letsencrypt.org/directory"; # Uncomment this when testing stuff!
|
||||
dnsChallenge = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue