summaryrefslogtreecommitdiff
path: root/hostnix/weebnix/privacy-frontends.nix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2023-10-01 16:11:10 -0400
committerJoe Mou <dev@mou.fo>2023-10-01 16:12:56 -0400
commit2063ea347954833ccfc55dcf2cf2a5e3178cee68 (patch)
tree20fa7255a371069360bf5e7141295cd4005cb3d7 /hostnix/weebnix/privacy-frontends.nix
parentdb364a0c013f876dc0d4a2d8bf2cfccb7ce3affc (diff)
Add libreddit service
Diffstat (limited to 'hostnix/weebnix/privacy-frontends.nix')
-rw-r--r--hostnix/weebnix/privacy-frontends.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/hostnix/weebnix/privacy-frontends.nix b/hostnix/weebnix/privacy-frontends.nix
new file mode 100644
index 0000000..b312155
--- /dev/null
+++ b/hostnix/weebnix/privacy-frontends.nix
@@ -0,0 +1,15 @@
+{ ... }:
+
+{
+ services.libreddit = {
+ enable = true;
+ address = "[::1]";
+ port = 7682;
+ };
+
+ services.nginx.virtualHosts."lr.weebnix.mou.fo" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/".proxyPass = "http://[::1]:7682";
+ };
+}