forked from Fediversity/Fediversity
18 lines
396 B
Nix
18 lines
396 B
Nix
{ 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}";
|
|
};
|
|
};
|
|
}
|