diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-10-02 11:23:45 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-10-02 11:23:45 -0500 |
| commit | b768ad0ca4208e8b3588b881067c43d85246e967 (patch) | |
| tree | 460dca5c6568307efc94e256186346be0271478a /modules/services/options.nix | |
| parent | 84364a52c3d7ca2f550cb3f7af56848405902bee (diff) | |
experiment with modular services; more unix domain sockets, clean up old code
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"; |
