dotfiles/config/instances/config/mastodon.nix
2024-12-20 01:20:49 -06:00

24 lines
532 B
Nix
Executable file

{instancesFunctions}: let
inherit (instancesFunctions) domain1 servicePath sslPath sopsPath;
mastodonLabel = "Mastodon";
mastodonName = "mastodon";
in {
label = mastodonLabel;
name = mastodonName;
email = {
address0 = "thenutrivore@${domain1}";
};
sops = {
path0 = "${sopsPath}/${mastodonName}";
};
paths = {
path0 = "${servicePath}/${mastodonLabel}";
path1 = "";
path2 = "";
};
ssl = {
cert = "${sslPath}/${domain1}/fullchain.pem";
key = "${sslPath}/${domain1}/key.pem";
};
}