From 3a8a3dfc953f994a605e7d517976958e3dbb9b9e Mon Sep 17 00:00:00 2001 From: Alexander Tomokhov Date: Sat, 1 Feb 2025 18:36:01 +0400 Subject: [PATCH] fix auth meta: add meta to flake.nix and icon.svg --- sp-modules/auth/flake.nix | 17 +++++++++++++++++ sp-modules/auth/icon.svg | 1 + 2 files changed, 18 insertions(+) create mode 100644 sp-modules/auth/icon.svg diff --git a/sp-modules/auth/flake.nix b/sp-modules/auth/flake.nix index fa5f5a7..45d39e2 100644 --- a/sp-modules/auth/flake.nix +++ b/sp-modules/auth/flake.nix @@ -41,5 +41,22 @@ configPathsNeeded = builtins.fromJSON (builtins.readFile ./config-paths-needed.json); + + meta = { lib, ... }: { + spModuleSchemaVersion = 1; + id = "auth"; + name = "Auth"; + description = "Temporary auth module."; + svgIcon = builtins.readFile ./icon.svg; + isMovable = false; + isRequired = false; + backupDescription = "Useless service."; + systemdServices = [ "kanidm.service" ]; + folders = [ ]; + license = [ ]; + homepage = "https://kanidm.com"; + sourcePage = "https://github.com/kanidm"; + supportLevel = "hallucinatory"; + }; }; } diff --git a/sp-modules/auth/icon.svg b/sp-modules/auth/icon.svg new file mode 100644 index 0000000..647bc16 --- /dev/null +++ b/sp-modules/auth/icon.svg @@ -0,0 +1 @@ +