add news
This commit is contained in:
parent
2809a7e118
commit
1ea959ffb6
9 changed files with 250 additions and 0 deletions
microvms/news
18
microvms/news/miniflux.nix
Normal file
18
microvms/news/miniflux.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
listenport = 8080;
|
||||
in
|
||||
{
|
||||
sops.secrets."miniflux-admin" = { };
|
||||
|
||||
networking.firewall.interfaces.oxaproxy.allowedTCPPorts = [ listenport ];
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
config = {
|
||||
LISTEN_ADDR = "10.34.45.102:${toString listenport}";
|
||||
POLLING_FREQUENCY = "37";
|
||||
CREATE_ADMIN = "1";
|
||||
};
|
||||
adminCredentialsFile = config.sops.secrets."miniflux-admin".path;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue