nix-config/config/services/ttrss.nix
Patrick 053365c277
feat: globals
feat: more vlan config
2024-12-20 20:40:27 +01:00

24 lines
607 B
Nix

{ config, pkgs, ... }:
{
wireguard.services = {
client.via = "nucnix";
firewallRuleForNode.nucnix-nginx.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";
}
];
}