1
Fork 0

Fix libreddit service using wrong binary name for redlib

This commit is contained in:
prescientmoon 2024-04-22 23:11:42 +02:00
parent 7bca0369b8
commit 5ea178f609
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -1,13 +1,13 @@
{ config, upkgs, ... }: { { config, lib, upkgs, ... }:
let port = 8416;
in
{
imports = [ ../../common/optional/services/nginx.nix ]; imports = [ ../../common/optional/services/nginx.nix ];
services.nginx.virtualHosts."redlib.moonythm.dev" = services.nginx.virtualHosts."redlib.moonythm.dev" =
config.satellite.proxy config.services.invidious.port { }; config.satellite.proxy port { };
services.libreddit = { services.libreddit.enable = true;
enable = true; systemd.services.libreddit.serviceConfig.ExecStart =
port = 8416; lib.mkForce "${upkgs.redlib}/bin/redlib --port ${port}";
# REASON: not in stable yet
package = upkgs.redlib;
};
} }