alexandria: package and enable tt-rss readability plugin
This commit is contained in:
parent
fe1c931ca6
commit
b70c7f506e
2 changed files with 48 additions and 11 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -16,22 +17,25 @@ in
|
|||
singleUserMode = true;
|
||||
virtualHost = null;
|
||||
database.createLocally = true;
|
||||
pluginPackages = with pkgs; [
|
||||
tt-rss-theme-feedly
|
||||
tt-rss-plugin-af-readability
|
||||
];
|
||||
};
|
||||
|
||||
nginx.virtualHosts = mkNginxVHosts {
|
||||
domains."rss.baduhai.dev" = {
|
||||
root = "${config.services."tt-rss".root}/www";
|
||||
|
||||
locations."/".index = "index.php";
|
||||
|
||||
locations."~* /feed-icons/(\\d+)\\.ico".return = "302 /public.php?op=feed_icon&id=$1";
|
||||
|
||||
locations."~ \\.php$" = {
|
||||
extraConfig = ''
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:${config.services.phpfpm.pools.${config.services."tt-rss".pool}.socket};
|
||||
fastcgi_index index.php;
|
||||
'';
|
||||
locations = {
|
||||
"/".index = "index.php";
|
||||
"~* /feed-icons/(\\d+)\\.ico".return = "302 /public.php?op=feed_icon&id=$1";
|
||||
"~ \\.php$" = {
|
||||
extraConfig = ''
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:${config.services.phpfpm.pools.${config.services."tt-rss".pool}.socket};
|
||||
fastcgi_index index.php;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue