feat: switch to freshrss
This commit is contained in:
parent
13f8e0b127
commit
1268fb07d0
15
hosts/elisabeth/secrets/ttrss/generated/freshrsspasswd.age
Normal file
15
hosts/elisabeth/secrets/ttrss/generated/freshrsspasswd.age
Normal 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•3‚i±ßp}©êøܨd…*†mŽEþ =FCÓ}Jé2î×ɽ‚ùpMvô,¢ˆ„®ÿspÀ<70>Dõðé]˜L3¨ÎÎÚ
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue