diff --git a/modules/containers-terraform-authentik.nix b/modules/containers-terraform-authentik.nix index 823845e..a926d89 100644 --- a/modules/containers-terraform-authentik.nix +++ b/modules/containers-terraform-authentik.nix @@ -33,6 +33,8 @@ in name = containerName; slug = containerName; protocol_provider = "\${resource.authentik_provider_proxy.${containerName}.id}"; + meta_description = def.description; + meta_icon = def.icon; } ) cfg ) diff --git a/modules/containers.nix b/modules/containers.nix index 4128c45..7b58309 100644 --- a/modules/containers.nix +++ b/modules/containers.nix @@ -169,6 +169,16 @@ in description = "Should be accessed through the auth middleware"; default = true; }; + description = mkOption { + type = nullOr str; + description = "Possible description for the service"; + default = null; + }; + icon = mkOption { + type = nullOr str; + description = "URL for a logo for the service"; + default = null; + }; otherDomains = mkOption { type = listOf (submodule { options = {