Set up Miniflux
This commit is contained in:
parent
9b1d410eeb
commit
b1de510e50
|
@ -66,6 +66,9 @@
|
|||
locations."/gitea/" = {
|
||||
proxyPass = "http://localhost:3000/";
|
||||
};
|
||||
locations."/miniflux/" = {
|
||||
proxyPass = "http://localhost:8080/";
|
||||
};
|
||||
locations."/wallabag/" = {
|
||||
root = "/var/lib/wallabag/web";
|
||||
tryFiles = "try_files $uri /app.php$is_args$args";
|
||||
|
@ -105,7 +108,7 @@
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_11;
|
||||
ensureDatabases = [ "gitea" "wallabag" ];
|
||||
ensureDatabases = [ "gitea" "wallabag" "miniflux" ];
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "gitea";
|
||||
|
@ -115,6 +118,10 @@
|
|||
name = "wallabag";
|
||||
ensurePermissions = {"DATABASE wallabag" = "ALL PRIVILEGES";};
|
||||
}
|
||||
{
|
||||
name = "miniflux";
|
||||
ensurePermissions = {"DATABASE miniflux" = "ALL PRIVILEGES";};
|
||||
}
|
||||
];
|
||||
authentication = lib.mkForce ''
|
||||
# Generated file; do not edit!
|
||||
|
@ -160,4 +167,11 @@
|
|||
group = "php";
|
||||
};
|
||||
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
config = {
|
||||
BASE_URL = "https://coolneng.duckdns.org";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue