nix-config/config/services/ttrss.nix

24 lines
608 B
Nix

{ config, pkgs, ... }:
{
wireguard.elisabeth = {
client.via = "elisabeth";
firewallRuleForNode.elisabeth.allowedTCPPorts = [ 80 ];
};
services.freshrss = {
enable = true;
defaultUser = "patrick";
baseUrl = "https://rss.lel.lol";
virtualHost = "rss.lel.lol";
authType = "none";
extensions = [ pkgs.freshrss-extensions.youtube ];
};
environment.persistence."/persist".directories = [
{
inherit (config.services.freshrss) user;
directory = config.services.freshrss.dataDir;
group = config.services.freshrss.user;
mode = "0750";
}
];
}