Traefik and Frigate updated to new module format. Frigate needs some more testing (hardening, devices).

This commit is contained in:
Raphaël Numbus
2026-02-19 14:03:03 +01:00
parent 583963c7dc
commit 3b130bc2e9
5 changed files with 361 additions and 108 deletions
+41
View File
@@ -0,0 +1,41 @@
{ lib, ... }:
with lib;
{
options.numbus = {
services = {
domain = mkOption {
type = types.str;
example = "numbus.eu";
description = "The root domain name (e.g., example.com) that your services will use";
};
dns = mkOption {
type = types.enum [ "pi-hole" "adguard" ];
default = "pi-hole";
example = "pi-hole";
description = "The preferred DNS resolver service (pi-hole or adguard) that other services should depend on";
};
};
traefikDynamicConfigDir = mkOption {
type = types.str;
default = "/etc/traefik/rules";
example = "/etc/traefik/rules";
description = "! Choose a directory outside of /etc/ will break things ! The directory where Traefik's dynamic configuration files will be stored";
};
email = {
administratorEmail = mkOption {
type = types.str;
example = "admin@your-domain.com";
description = "The email that will be used to send critical notifications such as hardware failures, services errors, ACME updates, etc";
};
userEmail = mkOption {
type = types.str;
example = "user@your-domain.com";
description = "The email that will be used by services to send notifications";
};
};
};
}