feat(MOMO): add miniflux
This commit is contained in:
parent
c04eb32f81
commit
77b8fc9790
5 changed files with 36 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./acme.nix
|
||||
./miniflux.nix
|
||||
./nginx.nix
|
||||
./postgresql.nix
|
||||
./syncthing.nix
|
||||
|
|
|
|||
18
hosts/MOMO/services/miniflux.nix
Normal file
18
hosts/MOMO/services/miniflux.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }: {
|
||||
|
||||
age.secrets.environments-miniflux = {
|
||||
file = ../../../secrets/environments/miniflux.age;
|
||||
};
|
||||
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
config = {
|
||||
CLEANUP_FREQUENCY = 48;
|
||||
LISTEN_ADDR = "127.0.0.1:8008";
|
||||
BASE_URL = "https://miniflux.dryb.org/";
|
||||
};
|
||||
createDatabaseLocally = true;
|
||||
adminCredentialsFile = config.age.secrets.environments-miniflux.path;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -23,6 +23,13 @@
|
|||
proxyPass = "http://127.0.0.1:8007";
|
||||
};
|
||||
};
|
||||
virtualHosts."miniflux.dryb.org" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8008";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue