hosts: add ooksmedia

This commit is contained in:
ooks-io 2024-11-21 12:24:04 +11:00
parent f3895ce019
commit 10816d1a0a
10 changed files with 301 additions and 27 deletions

View file

@ -0,0 +1,22 @@
{
lib,
config,
...
}: let
inherit (config.services) forgejo;
inherit (lib) mkEnableOption mkOption;
inherit (lib.types) str;
mkColorOption = description:
mkOption {
type = str;
default = "";
inherit description;
};
in {
options.ooknet.server.forgejo.customTheme = {
enable = mkEnableOption;
light = {
primary = mkColorOption;
};
};
}