add missing definitions
This commit is contained in:
parent
1b971e95b2
commit
c83a907882
6 changed files with 19 additions and 0 deletions
|
|
@ -42,28 +42,36 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
secrets = lib.mkOption {
|
secrets = lib.mkOption {
|
||||||
|
description = "Secrets needed by Authelia";
|
||||||
type = lib.types.submodule {
|
type = lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
jwtSecretFile = lib.mkOption {
|
jwtSecretFile = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
description = "File containing the JWT secret.";
|
||||||
};
|
};
|
||||||
ldapAdminPasswordFile = lib.mkOption {
|
ldapAdminPasswordFile = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
description = "File containing the LDAP admin user password.";
|
||||||
};
|
};
|
||||||
sessionSecretFile = lib.mkOption {
|
sessionSecretFile = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
description = "File containing the session secret.";
|
||||||
};
|
};
|
||||||
notifierSMTPPasswordFile = lib.mkOption {
|
notifierSMTPPasswordFile = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
description = "File containing the STMP password for the notifier.";
|
||||||
};
|
};
|
||||||
storageEncryptionKeyFile = lib.mkOption {
|
storageEncryptionKeyFile = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
description = "File containing the storage encryption key.";
|
||||||
};
|
};
|
||||||
identityProvidersOIDCHMACSecretFile = lib.mkOption {
|
identityProvidersOIDCHMACSecretFile = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
description = "File containing the identity provider OIDC HMAC secret.";
|
||||||
};
|
};
|
||||||
identityProvidersOIDCIssuerPrivateKeyFile = lib.mkOption {
|
identityProvidersOIDCIssuerPrivateKeyFile = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
description = "File containing the identity provider OIDC issuer private key.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ in
|
||||||
{
|
{
|
||||||
options.shb.davfs = {
|
options.shb.davfs = {
|
||||||
mounts = lib.mkOption {
|
mounts = lib.mkOption {
|
||||||
|
description = "List of mounts.";
|
||||||
default = [];
|
default = [];
|
||||||
type = lib.types.listOf (lib.types.submodule {
|
type = lib.types.listOf (lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
smtp = lib.mkOption {
|
smtp = lib.mkOption {
|
||||||
|
description = "SMTP options.";
|
||||||
default = null;
|
default = null;
|
||||||
type = lib.types.nullOr (lib.types.submodule {
|
type = lib.types.nullOr (lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
ensures = lib.mkOption {
|
ensures = lib.mkOption {
|
||||||
|
description = "List of username, database and/or passwords that should be created.";
|
||||||
type = lib.types.listOf (lib.types.submodule {
|
type = lib.types.listOf (lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
username = lib.mkOption {
|
username = lib.mkOption {
|
||||||
|
|
|
||||||
|
|
@ -9,15 +9,18 @@ let
|
||||||
settingsFormat = formatXML {};
|
settingsFormat = formatXML {};
|
||||||
moreOptions = {
|
moreOptions = {
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
|
description = "Specific options for radarr.";
|
||||||
default = {};
|
default = {};
|
||||||
type = lib.types.submodule {
|
type = lib.types.submodule {
|
||||||
freeformType = apps.radarr.settingsFormat.type;
|
freeformType = apps.radarr.settingsFormat.type;
|
||||||
options = {
|
options = {
|
||||||
APIKeyFile = lib.mkOption {
|
APIKeyFile = lib.mkOption {
|
||||||
type = lib.types.path;
|
type = lib.types.path;
|
||||||
|
description = "Path to api key secret file.";
|
||||||
};
|
};
|
||||||
LogLevel = lib.mkOption {
|
LogLevel = lib.mkOption {
|
||||||
type = lib.types.enum ["debug" "info"];
|
type = lib.types.enum ["debug" "info"];
|
||||||
|
description = "Log level.";
|
||||||
default = "info";
|
default = "info";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -58,6 +61,7 @@ let
|
||||||
};
|
};
|
||||||
OmdbApiKeyFile = lib.mkOption {
|
OmdbApiKeyFile = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.path;
|
type = lib.types.nullOr lib.types.path;
|
||||||
|
description = "File containing the Open Movie Database API key.";
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
ProxyType = lib.mkOption {
|
ProxyType = lib.mkOption {
|
||||||
|
|
@ -72,10 +76,12 @@ let
|
||||||
};
|
};
|
||||||
ProxyUrl = lib.mkOption {
|
ProxyUrl = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
type = lib.types.nullOr lib.types.str;
|
||||||
|
description = "URL of the proxy. Ignored if ProxyType is set to -1";
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
ProxyPort = lib.mkOption {
|
ProxyPort = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.port;
|
type = lib.types.nullOr lib.types.port;
|
||||||
|
description = "Port of the proxy. Ignored if ProxyType is set to -1";
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
smtp = lib.mkOption {
|
smtp = lib.mkOption {
|
||||||
|
description = "SMTP options.";
|
||||||
type = lib.types.submodule {
|
type = lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
from_address = lib.mkOption {
|
from_address = lib.mkOption {
|
||||||
|
|
@ -102,6 +103,7 @@ in
|
||||||
|
|
||||||
backupConfig = lib.mkOption {
|
backupConfig = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.anything;
|
type = lib.types.nullOr lib.types.anything;
|
||||||
|
description = "Backup configuration of Vaultwarden.";
|
||||||
default = null;
|
default = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue