mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-19 05:39:34 +01:00
25 lines
524 B
Nix
25 lines
524 B
Nix
{ config, lib, ... }:
|
|
{
|
|
sops.secrets = {
|
|
freshrss_username = {
|
|
path = ../secrets/freshrss.json;
|
|
format = "json";
|
|
};
|
|
freshrss_password = {
|
|
path = ../secrets/freshrss.json;
|
|
format = "json";
|
|
};
|
|
};
|
|
|
|
services.freshrss = {
|
|
enable = true;
|
|
language = "fr";
|
|
defaultUser = builtins.toString config.sops.secrets.freshrss_username;
|
|
baseUrl = "http://localhost:3005";
|
|
passwordFile = "/run/secrets/freshrss_password";
|
|
database = {
|
|
type = "sqlite";
|
|
};
|
|
};
|
|
}
|