nix-config/modules/services/ttrss.nix

22 lines
543 B
Nix

{config, ...}: {
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";
};
environment.persistence."/persist".directories = [
{
inherit (config.services.freshrss) user;
directory = config.services.freshrss.dataDir;
group = config.services.freshrss.user;
mode = "0750";
}
];
}