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

View file

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