mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 05:14:41 -05:00
37 lines
653 B
Nix
Executable file
37 lines
653 B
Nix
Executable file
{ instancesFunctions }:
|
|
let
|
|
inherit (instancesFunctions)
|
|
domain3
|
|
servicePath
|
|
sslPath
|
|
sopsPath
|
|
;
|
|
|
|
label = "Mastodon";
|
|
name = "mastodon";
|
|
subdomain = "social";
|
|
domain = "${subdomain}.${domain3}";
|
|
in
|
|
{
|
|
label = label;
|
|
name = name;
|
|
email = {
|
|
address0 = "noreply@${domain3}";
|
|
};
|
|
domains = {
|
|
url0 = domain;
|
|
};
|
|
subdomain = subdomain;
|
|
sops = {
|
|
path0 = "${sopsPath}/${name}";
|
|
};
|
|
paths = {
|
|
path0 = "${servicePath}/${label}";
|
|
path1 = "";
|
|
path2 = "";
|
|
};
|
|
ssl = {
|
|
cert = "${sslPath}/${subdomain}.${domain3}/fullchain.pem";
|
|
key = "${sslPath}/${subdomain}.${domain3}/key.pem";
|
|
};
|
|
}
|