Fix libreddit service using wrong binary name for redlib
This commit is contained in:
parent
7bca0369b8
commit
5ea178f609
|
@ -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;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue