mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
33 lines
657 B
Nix
Executable file
33 lines
657 B
Nix
Executable file
{ instancesFunctions }:
|
|
let
|
|
inherit (instancesFunctions)
|
|
domain3
|
|
servicePath
|
|
sslPath
|
|
sopsPath
|
|
;
|
|
|
|
mastodonLabel = "Mastodon";
|
|
mastodonName = "mastodon";
|
|
mastodonSubdomain = "social";
|
|
in
|
|
{
|
|
label = mastodonLabel;
|
|
name = mastodonName;
|
|
email = {
|
|
address0 = "noreply@${domain3}";
|
|
};
|
|
subdomain = mastodonSubdomain;
|
|
sops = {
|
|
path0 = "${sopsPath}/${mastodonName}";
|
|
};
|
|
paths = {
|
|
path0 = "${servicePath}/${mastodonLabel}";
|
|
path1 = "";
|
|
path2 = "";
|
|
};
|
|
ssl = {
|
|
cert = "${sslPath}/${mastodonSubdomain}.${domain3}/fullchain.pem";
|
|
key = "${sslPath}/${mastodonSubdomain}.${domain3}/key.pem";
|
|
};
|
|
}
|