From 71119342e08d5b8a26c62907964b553cda29eb65 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Mon, 1 Jun 2026 14:39:06 +0200 Subject: [PATCH] feat: add support for icon/description of services --- modules/containers-terraform-authentik.nix | 2 ++ modules/containers.nix | 10 ++++++++++ 2 files changed, 12 insertions(+) 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 = {