nix-config/features/freshrss.nix

25 lines
524 B
Nix
Raw Normal View History

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-16 11:40:15 +02:00
defaultUser = builtins.toString config.sops.secrets.freshrss_username;
2024-07-16 11:35:37 +02:00
baseUrl = "http://localhost:3005";
2024-07-16 11:37:10 +02:00
passwordFile = "/run/secrets/freshrss_password";
2024-07-15 16:27:23 +02:00
database = {
type = "sqlite";
};
};
}