From b26751a5fbef67d47f36d6c1b17907b8161c61e4 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Tue, 10 Mar 2026 00:01:36 +0100 Subject: [PATCH] meta/services: Init module --- modules/nixos/meta/services.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 modules/nixos/meta/services.nix diff --git a/modules/nixos/meta/services.nix b/modules/nixos/meta/services.nix new file mode 100644 index 0000000..fee970a --- /dev/null +++ b/modules/nixos/meta/services.nix @@ -0,0 +1,27 @@ +{ lib, ... }: +{ + options.custom.meta.services = lib.mkOption { + type = lib.types.attrsOf ( + lib.types.submodule ( + { name, ... }: + { + options = { + title = lib.mkOption { + type = lib.types.nonEmptyStr; + default = name; + }; + url = lib.mkOption { + type = lib.types.nonEmptyStr; + default = "https://${name}"; + }; + icon = lib.mkOption { + type = lib.types.nonEmptyStr; + default = ""; + }; + }; + } + ) + ); + default = { }; + }; +}