mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: caddy test
This commit is contained in:
parent
12e63f8108
commit
c71256d61a
2 changed files with 5 additions and 7 deletions
|
@ -1,14 +1,13 @@
|
|||
{instancesFunctions}: let
|
||||
inherit (instancesFunctions) domain3 servicePath sslPath sopsPath;
|
||||
inherit (instancesFunctions) domain1 servicePath sslPath sopsPath;
|
||||
|
||||
mastodonLabel = "Mastodon";
|
||||
mastodonName = "mastodon";
|
||||
mastodonSubdomain = "social";
|
||||
in {
|
||||
label = mastodonLabel;
|
||||
name = mastodonName;
|
||||
email = {
|
||||
address0 = "nick@${domain3}";
|
||||
address0 = "thenutrivore@${domain1}";
|
||||
};
|
||||
sops = {
|
||||
path0 = "${sopsPath}/${mastodonName}";
|
||||
|
@ -18,9 +17,8 @@ in {
|
|||
path1 = "";
|
||||
path2 = "";
|
||||
};
|
||||
subdomain = mastodonSubdomain;
|
||||
ssl = {
|
||||
cert = "${sslPath}/${mastodonSubdomain}.${domain3}/fullchain.pem";
|
||||
key = "${sslPath}/${mastodonSubdomain}.${domain3}/key.pem";
|
||||
cert = "${sslPath}/${domain1}/fullchain.pem";
|
||||
key = "${sslPath}/${domain1}/key.pem";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
inherit (flake.config.machines.devices) server;
|
||||
inherit (flake.config.services.instances) mastodon web;
|
||||
service = mastodon;
|
||||
host = "${service.subdomain}.${web.domains.url3}";
|
||||
host = web.domains.url1;
|
||||
localhost = web.localhost.address0;
|
||||
in {
|
||||
# If you need to start fresh for some reason, run these to create the new Admin account:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue