From b768ad0ca4208e8b3588b881067c43d85246e967 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Fri, 2 Oct 2026 11:23:45 -0500 Subject: experiment with modular services; more unix domain sockets, clean up old code --- modules/services/options.nix | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) (limited to 'modules/services/options.nix') 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"; -- cgit v1.3.1