Add dashboard support

This commit is contained in:
Natsu Kagami 2021-11-01 15:44:19 -04:00
parent fea90592fe
commit 0842bd53a2
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
5 changed files with 52 additions and 9 deletions

View file

@ -21,7 +21,7 @@ let
cfg = config.cloud.traefik;
in
{
imports = [ ./config.nix ];
imports = [ ./config.nix ./dashboard.nix ];
options.cloud.traefik = {
cloudflareKeyFile = mkOption {
type = types.path;
@ -58,10 +58,6 @@ in
accessLog = {};
log.level = "info";
# Dashboard
# ---------
api.dashboard = true;
# ACME Automatic SSL
# ------------------
certificatesResolvers.le.acme = {