diff options
| author | Joe Mou <dev@mou.fo> | 2024-04-24 02:10:04 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2024-04-26 16:26:22 -0400 |
| commit | 7868f4583e58834e95234c4097b17186274e2f04 (patch) | |
| tree | 560f0eec3ab92591b5b1f61a55e298a87a3119b6 | |
| parent | 77d5d0b6ed031091cf19895628fe2ddaa3869fbb (diff) | |
libreddit tweaks
| -rw-r--r-- | hostnix/elmo/privacy-frontends.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hostnix/elmo/privacy-frontends.nix b/hostnix/elmo/privacy-frontends.nix index b410962..b5fcba0 100644 --- a/hostnix/elmo/privacy-frontends.nix +++ b/hostnix/elmo/privacy-frontends.nix @@ -7,6 +7,17 @@ port = 7682; }; + systemd.services.libreddit = { + environment = { + LIBREDDIT_DEFAULT_SHOW_NSFW = "on"; + LIBREDDIT_DEFAULT_USE_HLS = "on"; + LIBREDDIT_DEFAULT_WIDE = "on"; + # v0.30.0 is too old for these settings + # LIBREDDIT_PUSHSHIFT_FRONTEND = "www.reveddit.com"; + # LIBREDDIT_ROBOTS_DISABLE_INDEXING = "on"; + }; + }; + services.nginx.virtualHosts."lr.elmo.mou.fo" = { enableACME = true; forceSSL = true; |
