aboutsummaryrefslogtreecommitdiff
path: root/modules/services/options.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-02-10 15:49:15 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-02-10 15:49:15 -0600
commited84fb332431c6c33891ac1b18a0b184e7d828be (patch)
treec9ea705ccf7e522eea8e0f6903e35efb9401ac78 /modules/services/options.nix
parent4faf9d617a1038fc72dd5add6fd25da1a1fbda3d (diff)
deprecate unmaintained services
Diffstat (limited to 'modules/services/options.nix')
-rw-r--r--modules/services/options.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/services/options.nix b/modules/services/options.nix
index 024e2a0..3db8f8a 100644
--- a/modules/services/options.nix
+++ b/modules/services/options.nix
@@ -14,6 +14,7 @@
service_name = mkOption {
type = lib.types.str;
+ default = service_name;
internal = true;
};
@@ -34,7 +35,8 @@
};
caddy = {
- enable = mkEnableOption "Automatically create caddy configurations for this service";
+ global.enable = mkEnableOption "Automatically create caddy configurations for this service";
+ local.enable = mkEnableOption "Automatically make this service accessable on ${service_name}.local";
bind_tailscale = mkEnableOption "Bind the service to ${service_name}.{tailnet}";
};
};
@@ -77,6 +79,11 @@ in {
};
};
+ navidrome = selfhostOptions {
+ service_name = "navidrome";
+ default_port = 8070;
+ };
+
copyparty =
(selfhostOptions {
service_name = "copyparty";