diff --git a/config/instances/config/peertube.nix b/config/instances/config/peertube.nix index 7f5f9e0..ae9f888 100755 --- a/config/instances/config/peertube.nix +++ b/config/instances/config/peertube.nix @@ -25,7 +25,7 @@ in { port4 = 52800; }; ssl = { - cert = "${sslPath}/video.${domain3}/fullchain.pem"; - key = "${sslPath}/video.${domain3}/key.pem"; + cert = "${sslPath}/${peertubeSubdomain}.${domain3}/fullchain.pem"; + key = "${sslPath}/${peertubeSubdomain}.${domain3}/key.pem"; }; } diff --git a/nixos/modules/services/mastodon/default.nix b/nixos/modules/services/mastodon/default.nix index 8adc487..6693a27 100755 --- a/nixos/modules/services/mastodon/default.nix +++ b/nixos/modules/services/mastodon/default.nix @@ -38,7 +38,7 @@ in { services = { mastodon = { enable = true; - localDomain = web.domains.url3; + localDomain = host; secretKeyBaseFile = "/var/lib/mastodon/secrets/secret-key-base"; streamingProcesses = 7; trustedProxy = localhost;