NixOS/options/services.nix

26 lines
872 B
Nix
Raw Normal View History

2024-06-26 16:34:41 +07:00
{ config, lib, ... }:
let
2024-06-26 16:34:41 +07:00
inherit (lib) mkEnableOption mkOption types;
in
{
options.profile.services = {
caddy.enable = mkEnableOption "caddy";
cockpit.enable = mkEnableOption "cockpit";
2024-06-13 16:08:33 +07:00
forgejo.enable = mkEnableOption "forgejo";
kavita.enable = mkEnableOption "kavita";
samba.enable = mkEnableOption "samba";
2024-06-13 23:14:37 +07:00
nextcloud.enable = mkEnableOption "nextcloud";
2024-06-14 10:04:29 +07:00
syncthing.enable = mkEnableOption "syncthing";
2024-06-14 14:30:52 +07:00
openvpn.enable = mkEnableOption "openvpn";
2024-06-14 19:42:14 +07:00
stubby.enable = mkEnableOption "stubby";
2024-06-17 23:28:22 +07:00
jellyfin.enable = mkEnableOption "jellyfin";
2024-06-26 16:34:41 +07:00
jellyfin.jellyseerr.enable = mkOption {
type = types.bool;
default = config.profile.services.jellyfin.enable;
};
rust-motd.enable = mkEnableOption "rust-motd";
2024-06-23 20:01:24 +07:00
wireguard.enable = mkEnableOption "wireguard";
2024-06-23 21:04:27 +07:00
photoprism.enable = mkEnableOption "photoprism";
};
}