Add gotosocial and peertube.

This commit is contained in:
Nolan Darilek 2025-04-25 10:07:58 -05:00
parent 8f06712b8b
commit 31a2c39d2b
3 changed files with 35 additions and 4 deletions

24
hosts/hub/apps/gts.nix Normal file
View file

@ -0,0 +1,24 @@
{ pkgs, ... }:
let
package = pkgs.unstable.gotosocial;
in
{
services = {
gotosocial = {
enable = true;
package = package;
settings = {
application-name = "Nolan's Social Media";
host = "gts.thewordnerd.info";
port = 8081;
landing-page-user = "nolan";
};
};
caddy.virtualHosts."gts.thewordnerd.info".extraConfig = ''
reverse_proxy http://localhost:8081
'';
};
environment.systemPackages = [ package ];
}