1
Fork 0
satellite/hosts/nixos/lapetus/services/redlib.nix

10 lines
280 B
Nix
Raw Permalink Normal View History

{ config, lib, upkgs, ... }:
2024-06-13 15:47:36 +02:00
let port = config.satellite.ports.redlib;
in
{
services.libreddit.enable = true;
2024-06-13 15:47:36 +02:00
satellite.nginx.at.redlib.port = port;
systemd.services.libreddit.serviceConfig.ExecStart =
lib.mkForce "${upkgs.redlib}/bin/redlib --port ${toString port}";
2024-04-22 22:45:08 +02:00
}