Add gotosocial and peertube.
This commit is contained in:
parent
8f06712b8b
commit
31a2c39d2b
3 changed files with 35 additions and 4 deletions
|
@ -1,15 +1,21 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
age.secrets.thewordnerd_peertube = {
|
||||
file = ../../../secrets/thewordnerd_peertube.age;
|
||||
owner = config.services.peertube.user;
|
||||
};
|
||||
services = {
|
||||
peertube = {
|
||||
enable = true;
|
||||
localDomain = "peertube.thewordnerd.info";
|
||||
listenWeb = 443;
|
||||
redis.createLocally = true;
|
||||
database.createLocally = true;
|
||||
|
||||
secrets.secretsFile = config.age.secrets.thewordnerd_peertube.path;
|
||||
};
|
||||
services.caddy.virtualHosts."peertube.thewordnerd.info".extraConfig = ''
|
||||
caddy.virtualHosts."peertube.thewordnerd.info".extraConfig = ''
|
||||
reverse_proxy http://localhost:9000
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue