feat: switched peertube to new address

This commit is contained in:
Nick 2024-12-19 20:06:05 -06:00
parent c7b32f0f31
commit daa207aeff
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{instancesFunctions}: let
inherit (instancesFunctions) domain1 servicePath sslPath sopsPath;
inherit (instancesFunctions) domain3 servicePath sslPath sopsPath;
peertubeLabel = "PeerTube";
peertubeName = "peertube";
@ -8,7 +8,7 @@ in {
label = peertubeLabel;
name = peertubeName;
email = {
address0 = "noreply@${peertubeSubdomain}.${domain1}";
address0 = "nick@${domain3}";
};
sops = {
path0 = "${sopsPath}/${peertubeName}";
@ -25,7 +25,7 @@ in {
port4 = 52800;
};
ssl = {
cert = "${sslPath}/video.${domain1}/fullchain.pem";
key = "${sslPath}/video.${domain1}/key.pem";
cert = "${sslPath}/video.${domain3}/fullchain.pem";
key = "${sslPath}/video.${domain3}/key.pem";
};
}

View file

@ -8,7 +8,7 @@
inherit (flake.config.services.instances) caddy peertube web;
service = peertube;
localhost = web.localhost.address0;
host = "${service.subdomain}.${web.domains.url1}";
host = "${service.subdomain}.${web.domains.url3}";
in {
services = {
peertube = {