Fediversity/services/fediversity/mastodon/options.nix

19 lines
396 B
Nix
Raw Normal View History

2025-02-14 18:37:48 +01:00
{ config, lib, ... }:
let
inherit (lib) mkOption mkEnableOption;
inherit (lib.types) types;
in
{
options.fediversity.mastodon = {
enable = mkEnableOption "Enable a Mastodon server on the machine";
domain = mkOption {
type = types.str;
description = "Internal option change at your own risk";
default = "mastodon.${config.fediversity.domain}";
};
};
}