1
Fork 0

Configure redlib

This commit is contained in:
prescientmoon 2024-04-22 22:45:08 +02:00
parent 1ed3a529c9
commit a7a9567222
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
5 changed files with 21 additions and 1 deletions

BIN
common/icons/libreddit.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

View file

@ -1,6 +1,6 @@
# Ports
The idea is to always use consecutive ports, but never go back and try to recycle older no longer user ports (for the sake of keeping things clean).
The idea is to always use consecutive ports, but never go back and try to recycle older no longer used ports (for the sake of keeping things clean).
| Port | Description |
| ---- | --------------------------------------------------------------------------- |
@ -19,3 +19,4 @@ The idea is to always use consecutive ports, but never go back and try to recycl
| 8413 | [commafeed](../hosts/nixos/lapetus/services/commafeed.nix) |
| 8414 | [invidious](../hosts/nixos/lapetus/services/invidious.nix) |
| 8415 | [radicale](../hosts/nixos/lapetus/services/radicale.nix) |
| 8416 | [redlib](../hosts/nixos/lapetus/services/redlib.nix) |

View file

@ -20,6 +20,7 @@
./services/diptime.nix
./services/radicale.nix
./services/ddclient.nix
./services/redlib.nix
./filesystems
./hardware
];

View file

@ -126,6 +126,12 @@ in
logo = icon "invidious.png";
url = "https://yt.moonythm.dev";
}
{
name = "Redlib";
subtitle = "Reddit client";
logo = icon "libreddit.png";
url = "https://redlib.moonythm.dev";
}
{
name = "Diptime";
subtitle = "Diplomacy timer";

View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }: {
imports = [ ../../common/optional/services/nginx.nix ];
services.nginx.virtualHosts."redlib.moonythm.dev" =
config.satellite.proxy config.services.invidious.port { };
services.libreddit = {
enable = true;
port = 8416;
package = pkgs.redlib;
};
}