mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: write miniflux module
This commit is contained in:
parent
3504fb72f1
commit
9cd7177636
1 changed files with 22 additions and 0 deletions
22
modules/services/miniflux.nix
Normal file
22
modules/services/miniflux.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
miniflux = {
|
||||||
|
enable = false; # if enable then postgres mad
|
||||||
|
createDatabaseLocally = false;
|
||||||
|
config = {
|
||||||
|
# CLEANUP_FREQUENCY = 48;
|
||||||
|
LISTEN_ADDR = "localhost:8011";
|
||||||
|
};
|
||||||
|
adminCredentialsFile = /etc/miniflux/adminCredentialsFile;
|
||||||
|
};
|
||||||
|
nginx.virtualHosts."feed.liv.town" = {
|
||||||
|
forceSSL = true;
|
||||||
|
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||||
|
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:8011";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue