commit
4f0f09fcab
2 changed files with 14 additions and 5 deletions
|
@ -1,4 +1,9 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.peertube = {
|
||||
enable = true;
|
||||
localDomain = "peertube.chir.rs";
|
||||
|
@ -25,7 +30,7 @@
|
|||
database.createLocally = true;
|
||||
redis.createLocally = true;
|
||||
};
|
||||
systemd.services.peertube.path = with pkgs; lib.mkForce [ bashInteractive ffmpeg_5 nodejs-16_x openssl yarn python3 coreutils systemd ];
|
||||
systemd.services.peertube.path = with pkgs; lib.mkForce [bashInteractive ffmpeg_5 nodejs-16_x openssl yarn python3 coreutils systemd];
|
||||
services.caddy.virtualHosts."peertube.chir.rs" = {
|
||||
useACMEHost = "chir.rs";
|
||||
extraConfig = ''
|
||||
|
|
|
@ -102,7 +102,7 @@ with dns.lib.combinators; let
|
|||
SOA = {
|
||||
nameServer = "ns1.chir.rs.";
|
||||
adminEmail = "lotte@chir.rs";
|
||||
serial = 17;
|
||||
serial = 18;
|
||||
};
|
||||
NS = [
|
||||
"ns1.chir.rs."
|
||||
|
@ -181,13 +181,17 @@ with dns.lib.combinators; let
|
|||
ns2 = createZone {};
|
||||
hydra = createZone {};
|
||||
mastodon = createZone {};
|
||||
mastodon-assets = createZone {};
|
||||
mastodon-assets.CNAME = [
|
||||
"assets-chir-rs.b-cdn.net"
|
||||
];
|
||||
matrix = createZone {};
|
||||
drone = createZone {};
|
||||
invtracker = createZone {};
|
||||
akko = createZone {};
|
||||
moa = createZone {};
|
||||
cache = createZone {};
|
||||
cache.CNAME = [
|
||||
"cache-chir-rs.b-cdn.net"
|
||||
];
|
||||
peertube = createZone {};
|
||||
|
||||
int =
|
||||
|
|
Loading…
Reference in a new issue