From daa207aeff5f4a16e8bb306a91d037b63bc2b333 Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 19 Dec 2024 20:06:05 -0600 Subject: [PATCH] feat: switched peertube to new address --- config/instances/config/peertube.nix | 8 ++++---- nixos/modules/services/peertube.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/instances/config/peertube.nix b/config/instances/config/peertube.nix index bcafe6a..7f5f9e0 100755 --- a/config/instances/config/peertube.nix +++ b/config/instances/config/peertube.nix @@ -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"; }; } diff --git a/nixos/modules/services/peertube.nix b/nixos/modules/services/peertube.nix index c4e93b1..d7a53dd 100755 --- a/nixos/modules/services/peertube.nix +++ b/nixos/modules/services/peertube.nix @@ -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 = {