10 lines
280 B
Nix
10 lines
280 B
Nix
{ config, lib, upkgs, ... }:
|
|
let port = config.satellite.ports.redlib;
|
|
in
|
|
{
|
|
services.libreddit.enable = true;
|
|
satellite.nginx.at.redlib.port = port;
|
|
systemd.services.libreddit.serviceConfig.ExecStart =
|
|
lib.mkForce "${upkgs.redlib}/bin/redlib --port ${toString port}";
|
|
}
|