nixos/systems/ttrss/default.nix

28 lines
573 B
Nix
Raw Normal View History

2023-05-29 16:21:23 +02:00
{ hostname }: { inputs, pkgs, ... }:
2022-11-02 21:28:05 +01:00
let
domain = "ttrss.2li.ch";
in
2022-02-28 22:01:50 +01:00
{
imports = [
2023-05-29 16:21:23 +02:00
(import "${inputs.self}/systems/raspi4" {
2022-02-28 22:01:50 +01:00
ip = "10.7.89.115";
2023-05-29 16:21:23 +02:00
inherit hostname;
2022-02-28 22:01:50 +01:00
})
2023-05-29 16:21:23 +02:00
(import "${inputs.self}/modules/ttrss-postgres" { inherit domain; })
2022-02-28 22:01:50 +01:00
];
2023-06-06 21:38:53 +02:00
services = {
az-nginx-proxy = {
enable = true;
domain = "rss-bridge.2li.ch";
port = 8082;
};
az-restic-client-server-postgres = {
enable = true;
path = "/var/lib/ttrss";
tag = "tt-rss";
time = "23:00";
};
2023-06-06 22:42:21 +02:00
az-rss-bridge.enable = true;
2023-06-06 21:38:53 +02:00
};
2022-02-28 22:01:50 +01:00
}