nix-config/config/services/ttrss.nix

24 lines
607 B
Nix
Raw Normal View History

2024-08-23 01:40:36 +02:00
{ config, pkgs, ... }:
2024-07-26 22:12:48 +02:00
{
2024-12-20 20:40:27 +01:00
wireguard.services = {
client.via = "nucnix";
firewallRuleForNode.nucnix-nginx.allowedTCPPorts = [ 80 ];
2024-03-14 23:08:42 +01:00
};
2024-02-13 18:35:45 +01:00
services.freshrss = {
2024-02-13 18:07:45 +01:00
enable = true;
2024-02-13 18:35:45 +01:00
defaultUser = "patrick";
baseUrl = "https://rss.lel.lol";
2024-02-13 18:07:45 +01:00
virtualHost = "rss.lel.lol";
2024-03-30 16:29:00 +01:00
authType = "none";
2024-08-23 01:40:36 +02:00
extensions = [ pkgs.freshrss-extensions.youtube ];
2024-02-13 18:07:45 +01:00
};
environment.persistence."/persist".directories = [
{
2024-02-13 18:35:45 +01:00
inherit (config.services.freshrss) user;
directory = config.services.freshrss.dataDir;
group = config.services.freshrss.user;
2024-02-13 18:07:45 +01:00
mode = "0750";
}
];
}