redlib: reddit front-end at reddit.nordhammer.it
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
dcf7c4b0ff
commit
f97d7ac829
3 changed files with 13 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ in
|
||||||
./services/forgejo-runner.nix
|
./services/forgejo-runner.nix
|
||||||
./services/code-server.nix
|
./services/code-server.nix
|
||||||
./services/memos.nix
|
./services/memos.nix
|
||||||
|
./services/redlib.nix
|
||||||
./services/hardware-health.nix
|
./services/hardware-health.nix
|
||||||
./services/wan-watchdog.nix
|
./services/wan-watchdog.nix
|
||||||
./services/prebuild.nix
|
./services/prebuild.nix
|
||||||
|
|
|
||||||
|
|
@ -161,6 +161,7 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
"notes.nordhammer.it" = protectedProxy 5230;
|
"notes.nordhammer.it" = protectedProxy 5230;
|
||||||
|
"reddit.nordhammer.it" = protectedProxy 8087;
|
||||||
|
|
||||||
# Pelican game panel. Can't turn off its own login (no such option
|
# Pelican game panel. Can't turn off its own login (no such option
|
||||||
# upstream), so Authelia is the outer gate and the Pelican account
|
# upstream), so Authelia is the outer gate and the Pelican account
|
||||||
|
|
|
||||||
11
services/redlib.nix
Normal file
11
services/redlib.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue