redlib: reddit front-end at reddit.nordhammer.it

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-29 13:44:59 +01:00
parent dcf7c4b0ff
commit f97d7ac829
3 changed files with 13 additions and 0 deletions

View file

@ -122,6 +122,7 @@ in
./services/forgejo-runner.nix
./services/code-server.nix
./services/memos.nix
./services/redlib.nix
./services/hardware-health.nix
./services/wan-watchdog.nix
./services/prebuild.nix

View file

@ -161,6 +161,7 @@ in
'';
};
"notes.nordhammer.it" = protectedProxy 5230;
"reddit.nordhammer.it" = protectedProxy 8087;
# Pelican game panel. Can't turn off its own login (no such option
# upstream), so Authelia is the outer gate and the Pelican account

11
services/redlib.nix Normal file
View file

@ -0,0 +1,11 @@
# services/redlib.nix — Private Reddit front-end at reddit.nordhammer.it
{ config, lib, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
services.redlib = {
enable = true;
address = "127.0.0.1";
port = 8087;
};
};
}