feat: switch to freshrss

This commit is contained in:
Patrick 2024-02-13 18:35:45 +01:00
parent 13f8e0b127
commit 1268fb07d0
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
3 changed files with 28 additions and 24 deletions

View file

@ -0,0 +1,15 @@
age-encryption.org/v1
-> X25519 KeayMdkWoIyLZu47yQdC+NKUeBli7y/KhyFrbvQKMjo
RFNC0waSc89REZ+uRWTYyKYcM0oW9Q8m92buzX9OlaY
-> piv-p256 XTQkUA Aqrx2ok2XeZvJWsPvOi7o7T3/PvZcZ5naOEvSouqGDxt
PW6G4aqvzq4JoJecPp7bP4Rzc6rgAV4NaTfeRCF5OYA
-> piv-p256 ZFgiIw A7pQOh63jVeS6WHnWusY2FuLk8ezS/lu6h+LmTqgArA3
4IkRO5JXgBggCYSI0lOaccyqVmHupOiFqZZwHsdlBDc
-> piv-p256 5vmPtQ A7kRH2YuvwTE+wCqpvE8FBlHthHv8cMWVLQOWxbKbgHq
OudUFhREd4J2cQQG9eEeKIjAqHkp+XznKFpvsJjgEHk
-> piv-p256 ZFgiIw AsojcZKNzLUdTgOekkqwisrOy7t8hup9sVla7PbL1RKH
cpG56veIp+cpW9JXsK2/4NXQ7kJM7g1Hg/sEnFSuW8k
-> ~yTrd-grease ox]5\ *89S8!#
Bfh0HDXNORM8GT6noqoh2KcVvUOksp09VOfG/dUFCC4DUUo
--- EJSmnzU8XIhaFIkPRjyFZxi+kEHap903mrUuc2MpUkY
þöžéüÀ<C3BC>­s¬àl•3i±ßp}©êøܨd…*†mŽEþ =FCÓ}Jé2î×ɽùpMvô,¢ˆ„®ÿspÀ<70>Dõðé]˜L3¨ÎÎÚ

View file

@ -27,6 +27,7 @@
microvm = uidGid 217;
maddy = uidGid 218;
tt_rss = uidGid 219;
freshrss = uidGid 220;
paperless = uidGid 315;
systemd-oom = uidGid 300;
systemd-coredump = uidGid 301;

View file

@ -1,33 +1,21 @@
{
config,
pkgs,
...
}: {
networking.firewall.allowedTCPPorts = [80];
services.tt-rss = {
enable = true;
logDestination = "syslog";
selfUrlPath = "https://rss.lel.lol";
virtualHost = "rss.lel.lol";
themePackages = [
pkgs.tt-rss-theme-feedly
];
auth = {
autoLogin = false;
autoCreate = false;
{config, ...}: {
age.secrets.freshrsspasswd = {
generator.script = "alnum";
owner = config.services.freshrss.user;
};
networking.firewall.allowedTCPPorts = [80];
services.freshrss = {
enable = true;
passwordFile = config.age.secrets.freshrsspasswd.path;
defaultUser = "patrick";
baseUrl = "https://rss.lel.lol";
virtualHost = "rss.lel.lol";
};
environment.persistence."/persist".directories = [
{
directory = "/var/lib/postgresql/";
user = "postgres";
group = "postgres";
mode = "750";
}
{
inherit (config.services.tt-rss) user;
directory = config.services.tt-rss.root;
group = config.services.tt-rss.user;
inherit (config.services.freshrss) user;
directory = config.services.freshrss.dataDir;
group = config.services.freshrss.user;
mode = "0750";
}
];