clean up
This commit is contained in:
parent
36dd6d6d66
commit
4a14b2cf8e
1 changed files with 0 additions and 25 deletions
|
|
@ -1,25 +0,0 @@
|
||||||
{ config, lib, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
cfg = config.services.miniflux-custom;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.services.miniflux-custom = {
|
|
||||||
port = lib.mkOption {
|
|
||||||
type = lib.types.port;
|
|
||||||
default = 8070;
|
|
||||||
description = "Port for Miniflux to listen on";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
|
||||||
services.miniflux = {
|
|
||||||
enable = true;
|
|
||||||
adminCredentialsFile = "/etc/miniflux-admin-credentials";
|
|
||||||
config = {
|
|
||||||
LISTEN_ADDR = "0.0.0.0:${toString cfg.port}";
|
|
||||||
BASE_URL = "https://rss.yanlincs.com";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue