{ 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}"; }; }; }