2023-07-17 11:42:25 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
|
|
|
address = "rss.kamoshi.org";
|
|
|
|
in
|
|
|
|
{
|
|
|
|
services = {
|
|
|
|
freshrss = {
|
2023-07-17 15:42:00 +02:00
|
|
|
enable = true;
|
|
|
|
defaultUser = "admin";
|
|
|
|
# There's something wrong with this
|
|
|
|
# Workaround: https://github.com/FreshRSS/FreshRSS/issues/1082
|
2023-07-17 11:42:25 +02:00
|
|
|
passwordFile = "/root/secrets/freshrss/password";
|
|
|
|
baseUrl = "https://${address}";
|
|
|
|
virtualHost = address;
|
|
|
|
database.type = "sqlite";
|
|
|
|
};
|
|
|
|
nginx = {
|
|
|
|
enable = true;
|
|
|
|
virtualHosts."${address}" = {
|
2023-07-17 15:42:00 +02:00
|
|
|
forceSSL = true;
|
2023-07-17 11:42:25 +02:00
|
|
|
enableACME = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|