diff options
Diffstat (limited to 'modules/services/options.nix')
| -rw-r--r-- | modules/services/options.nix | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/modules/services/options.nix b/modules/services/options.nix index 38baf9e..a066836 100644 --- a/modules/services/options.nix +++ b/modules/services/options.nix @@ -24,31 +24,30 @@ in { forgejo = basicService {desc = "Self-hosted git forge";}; qbittorrent = basicService {desc = "webui for qBittorrent";}; + dufs.enable = mkEnableOption "dufs file browser"; goaccess.enable = mkEnableOption "webserver stats from caddy logs"; - filebrowser.enable = mkEnableOption "dufs file browser"; cgit.enable = mkEnableOption "cgit git webui"; - glance = - (basicService {desc = "Glance homepage";}) - // { - homelabServices = lib.mkOption { - type = lib.types.attrsOf (lib.types.submodule ({config, ...}: { - options = { - title = lib.mkOption { - type = lib.types.str; - default = config._module.args.name; - }; - url = lib.mkOption { - type = lib.types.str; - }; - icon = lib.mkOption { - type = lib.types.nullOr lib.types.str; - default = null; - }; + glance = { + enable = mkEnableOption "glance homelab homepage"; + homelabServices = lib.mkOption { + type = lib.types.attrsOf (lib.types.submodule ({config, ...}: { + options = { + title = lib.mkOption { + type = lib.types.str; + default = config._module.args.name; }; - })); - }; + url = lib.mkOption { + type = lib.types.str; + }; + icon = lib.mkOption { + type = lib.types.nullOr lib.types.str; + default = null; + }; + }; + })); }; + }; minecraft = basicService { desc = "Minecraft bedrock server"; |
