refactor(nixos): module: hectic services config path

This commit is contained in:
2025-08-28 18:17:18 +00:00
parent 00e02f328a
commit 744a8c9cf4
2 changed files with 4 additions and 4 deletions

View File

@@ -10,12 +10,12 @@
...
}: let
system = pkgs.system;
cfg = config.hectic.server-health;
cfg = config.hectic.services.server-health;
# URLS="http://..." # default: none
# VOLUMES="/ /home" # default: all from df -P
in {
options = {
hectic.server-health = {
hectic.serivices.server-health = {
enable = lib.mkEnableOption "enable serverhelth services";
urls = lib.mkOption {
type = lib.types.port;

View File

@@ -1,6 +1,6 @@
{ inputs, flake, self }:
{ config, pkgs, lib, ... }: let
cfg = config.hectic.support-bot;
cfg = config.hectic.services.support-bot;
system = pkgs.system;
packagesAttr = lib.mapAttrs (packageName: packageConfig:
@@ -10,7 +10,7 @@
packagesArr = builtins.attrValues packagesAttr;
in {
options = {
hectic.support-bot = lib.mkOption {
hectic.services.support-bot = lib.mkOption {
type = lib.types.attrsOf (
lib.types.submodule {
options = {