miniflux: init
This commit is contained in:
parent
56ac9e4fd5
commit
813ab5d40c
9 changed files with 194 additions and 0 deletions
26
hosts/miniflux/miniflux.nix
Normal file
26
hosts/miniflux/miniflux.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
grp = "miniflux-secret";
|
||||
in
|
||||
{
|
||||
sops.secrets."miniflux" = { };
|
||||
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
createDatabaseLocally = true;
|
||||
adminCredentialsFile = config.sops.secrets."miniflux".path;
|
||||
config = {
|
||||
LOG_LEVEL="debug";
|
||||
LISTEN_ADDR = "10.89.88.14:8080";
|
||||
BASE_URL = "https://news.oxapentane.com";
|
||||
# oauth
|
||||
DISABLE_LOCAL_AUTH = 1;
|
||||
CREATE_ADMIN = 0;
|
||||
OAUTH2_OIDC_DISCOVERY_ENDPOINT = "https://auth.oxapentane.com/application/o/miniflux/";
|
||||
OAUTH2_PROVIDER = "oidc";
|
||||
OAUTH2_REDIRECT_URL = "https://news.oxapentane.com/oauth2/oidc/callback";
|
||||
OAUTH2_USER_CREATION = 1;
|
||||
POLLING_FREQUENCY = 37;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue