feat: gotosocial

Signed-off-by: jolheiser <john.olheiser@gmail.com>
teamcity
jolheiser 2024-01-19 19:14:15 -06:00
parent 1c3203bf68
commit dec162e101
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
3 changed files with 18 additions and 1 deletions

View File

@ -48,6 +48,11 @@
reverse_proxy localhost:8449
'';
};
"social.jolheiser.com" = {
extraConfig = ''
reverse_proxy localhost:4686
'';
};
};
};
}

View File

@ -2,7 +2,7 @@ let
username = "jolheiser";
key = ''ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDfKqCWtDlS3tgvfT6hQN+ii8UtabIZ+ZNmYN+bLwIa8PHOEW5MbfaqXSlhKkSi4+7SfQDCHphw0SMfhsQ4qMEcoywZ+4niDgKlQEVkl+S/VGbLuPe92NRStkyreZBLPr3Rh7ScNlGHcmHmoV9v7725fMnsMmabGVhpGO84PwNHOfJyv2tx2h6LxFbAV8S44UQu2lc8YLWCK2UvKuRnBerBXLnDQThUUX8UuCFzb786gQzD5XDU0MENbByxiy0XdVGAC+tFXEiSIgFZlFbFYyShgdTP9MzX2MOglEi+ae+1UIFncraW7ptUey7qHFJylpHWWWvE+GTwsg2G50i0FvFj jolheiser@jolheiser'';
in {
imports = [./caddy.nix ./golink.nix ./ugit.nix ./hardware.nix];
imports = [./caddy.nix ./golink.nix ./gotosocial.nix ./ugit.nix ./hardware.nix];
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;

View File

@ -0,0 +1,12 @@
{
services.gotosocial = {
enable = true;
settings = {
application-name = "jolheiser GtS";
host = "social.jolheiser.com";
port = 4686;
accounts-registration-open = false;
landing-page-user = "jolheiser";
};
};
}