add hledger
This commit is contained in:
@@ -13,6 +13,10 @@ let
|
||||
type = lib.types.nullOr lib.types.path;
|
||||
default = null;
|
||||
};
|
||||
basicAuthFile = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.path;
|
||||
default = null;
|
||||
};
|
||||
extraConfig = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
@@ -91,9 +95,10 @@ in
|
||||
proxyPort,
|
||||
extraConfig,
|
||||
root,
|
||||
basicAuthFile,
|
||||
}:
|
||||
lib.mergeAttrsList [
|
||||
{ inherit extraConfig root; }
|
||||
{ inherit extraConfig root basicAuthFile; }
|
||||
(
|
||||
if (lib.isInt proxyPort) then
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user