dotnix @main -
refs -
log -
-
https://git.jolheiser.com/dotnix.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmWrIsUACgkQuFOtpdp7
v3pGHhAAxJ7ceSPa4wNO4/gt/KFT7QTnEQ06m0YHfYUzoOIR4SJ48PBNegGNtpq+
B62SfWpwJktPP7IsL3emLYuTJ0YyWplTukW2uANDd+5bsueLkcok06pQVIJaNWtI
Dm9AIrethr98HiMbX4nRegHRz7wMp0CA2yZQXeAXCwquZkPZf2hLAZFiSTelYIXD
YtlneFzTgpzmQUkf3WZ+O1XqYiNiMn1fIrW6SHul12EudPb1iTa702dLKRp2gXDo
N/Fin0pziKS01hFQtxrOdR9MWATyGsjIAiCm9yat2Rjur29oIdSdco3Ahh7M9ymb
ndYp9sjjuVKMG2pUvK5upQJlwGvjkO3ic0HmLLWB+9fAkzMCANDysgQFWVaRYQyQ
CNnfwcsoDk8kVt9W/H4wV6CcpTGImvinyX4uC068F1XwrEgXp6BjXQsY+xd6Stb7
7u5h1fAqVRzGhrlIeWqObflMIA3lcuTKhJ0dpAYxmWb4s8Cao1/YQ8SIVDCOfej9
aWi4/eh2peX5g1c66mY2qphEvawEucFG9Tpx4jaEMVK4iFvf2KCiW6nNrhU9v2Gd
vJQ4dk9qX+DGdT480VDgMjCO5tmIFDAH9gqECHpqAlcRdCO79ZTrk0XG9/N4i+oi
jreoPj6NWb46hWlT+YUa/6ZbGIiHtS0OUV8zOvNgAFaAxgxGwOU=
=n2wt
-----END PGP SIGNATURE-----
diff --git a/machines/dragonwell/caddy.nix b/machines/dragonwell/caddy.nix
index 6b21a0f99ae4709210bfb087e21127e39508e9e4..758978af12b3a38087e246c8464099e3a89ab39b 100644
--- a/machines/dragonwell/caddy.nix
+++ b/machines/dragonwell/caddy.nix
@@ -49,5 +49,11 @@ reverse_proxy localhost:8449
'';
};
virtualHosts = {
+ enable = true;
+ extraConfig = ''
+ reverse_proxy localhost:4686
+ '';
+ };
+ virtualHosts = {
};
}
diff --git a/machines/dragonwell/default.nix b/machines/dragonwell/default.nix
index aa5a78097d6ff3ddcbd1bae55f3cb43ba0388857..1828604d5d816c62ab6206594259a7139535f060 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 0000000000000000000000000000000000000000..e7a909f22cde18740de9ba6bfafc752efecaac24
--- /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";
+ };
+ };
+}