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
hosts/nixos/lapetus

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;
};
}