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 ];
|
||||
|
||||
services.nginx.virtualHosts."redlib.moonythm.dev" =
|
||||
config.satellite.proxy config.services.invidious.port { };
|
||||
config.satellite.proxy port { };
|
||||
|
||||
services.libreddit = {
|
||||
enable = true;
|
||||
port = 8416;
|
||||
# REASON: not in stable yet
|
||||
package = upkgs.redlib;
|
||||
};
|
||||
services.libreddit.enable = true;
|
||||
systemd.services.libreddit.serviceConfig.ExecStart =
|
||||
lib.mkForce "${upkgs.redlib}/bin/redlib --port ${port}";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue