2024-07-15 16:50:14 +02:00
|
|
|
{ config, lib, ... }:
|
2024-07-15 16:27:23 +02:00
|
|
|
{
|
2024-07-15 18:47:34 +02:00
|
|
|
sops.secrets = {
|
2024-07-15 19:06:16 +02:00
|
|
|
freshrss_username = {
|
|
|
|
path = ../secrets/freshrss.json;
|
|
|
|
format = "json";
|
|
|
|
};
|
|
|
|
freshrss_password = {
|
|
|
|
path = ../secrets/freshrss.json;
|
|
|
|
format = "json";
|
|
|
|
};
|
2024-07-15 18:47:34 +02:00
|
|
|
};
|
|
|
|
|
2024-07-15 16:27:23 +02:00
|
|
|
services.freshrss = {
|
|
|
|
enable = true;
|
|
|
|
language = "fr";
|
2024-07-15 18:47:34 +02:00
|
|
|
defaultUser = config.sops.freshrss_username;
|
|
|
|
passwordFile = config.sops.freshrss_password.path;
|
2024-07-15 16:27:23 +02:00
|
|
|
database = {
|
|
|
|
type = "sqlite";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|