Add feedreader
This commit is contained in:
parent
c3eebefddd
commit
caea091e81
3 changed files with 29 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./cloud.nix
|
./cloud.nix
|
||||||
|
./feedreader.nix
|
||||||
#./dns.nix #TODO
|
#./dns.nix #TODO
|
||||||
#./feedreader.nix #TODO
|
#./feedreader.nix #TODO
|
||||||
#./wallabag.nix #TODO
|
#./wallabag.nix #TODO
|
||||||
|
|
18
host/montalin/applications/feedreader.nix
Normal file
18
host/montalin/applications/feedreader.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
let host = "feedreader.qo.is";
|
||||||
|
in {
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
|
||||||
|
../../../role/tt-rss
|
||||||
|
];
|
||||||
|
|
||||||
|
services.tt-rss = {
|
||||||
|
selfUrlPath = "https://${host}/";
|
||||||
|
virtualHost = host;
|
||||||
|
};
|
||||||
|
services.nginx.virtualHosts."${host}" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
};
|
||||||
|
}
|
10
role/tt-rss/default.nix
Normal file
10
role/tt-rss/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.tt-rss = {
|
||||||
|
enable = true;
|
||||||
|
sessionCookieLifetime = 0;
|
||||||
|
|
||||||
|
database = { type = "pgsql"; };
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue