diff --git a/machines/dragonwell/caddy.nix b/machines/dragonwell/caddy.nix index 6b21a0f..758978a 100644 --- a/machines/dragonwell/caddy.nix +++ b/machines/dragonwell/caddy.nix @@ -48,6 +48,11 @@ reverse_proxy localhost:8449 ''; }; + "social.jolheiser.com" = { + extraConfig = '' + reverse_proxy localhost:4686 + ''; + }; }; }; } diff --git a/machines/dragonwell/default.nix b/machines/dragonwell/default.nix index aa5a780..1828604 100644 --- a/machines/dragonwell/default.nix +++ b/machines/dragonwell/default.nix @@ -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; diff --git a/machines/dragonwell/gotosocial.nix b/machines/dragonwell/gotosocial.nix new file mode 100644 index 0000000..e7a909f --- /dev/null +++ b/machines/dragonwell/gotosocial.nix @@ -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"; + }; + }; +}