1
0
Fork 0

add missing definitions

This commit is contained in:
ibizaman 2023-12-03 21:19:47 -08:00
parent 1b971e95b2
commit c83a907882
6 changed files with 19 additions and 0 deletions

View file

@ -42,28 +42,36 @@ in
};
secrets = lib.mkOption {
description = "Secrets needed by Authelia";
type = lib.types.submodule {
options = {
jwtSecretFile = lib.mkOption {
type = lib.types.str;
description = "File containing the JWT secret.";
};
ldapAdminPasswordFile = lib.mkOption {
type = lib.types.str;
description = "File containing the LDAP admin user password.";
};
sessionSecretFile = lib.mkOption {
type = lib.types.str;
description = "File containing the session secret.";
};
notifierSMTPPasswordFile = lib.mkOption {
type = lib.types.str;
description = "File containing the STMP password for the notifier.";
};
storageEncryptionKeyFile = lib.mkOption {
type = lib.types.str;
description = "File containing the storage encryption key.";
};
identityProvidersOIDCHMACSecretFile = lib.mkOption {
type = lib.types.str;
description = "File containing the identity provider OIDC HMAC secret.";
};
identityProvidersOIDCIssuerPrivateKeyFile = lib.mkOption {
type = lib.types.str;
description = "File containing the identity provider OIDC issuer private key.";
};
};
};

View file

@ -18,6 +18,7 @@ in
{
options.shb.davfs = {
mounts = lib.mkOption {
description = "List of mounts.";
default = [];
type = lib.types.listOf (lib.types.submodule {
options = {

View file

@ -75,6 +75,7 @@ in
};
smtp = lib.mkOption {
description = "SMTP options.";
default = null;
type = lib.types.nullOr (lib.types.submodule {
options = {

View file

@ -21,6 +21,7 @@ in
};
ensures = lib.mkOption {
description = "List of username, database and/or passwords that should be created.";
type = lib.types.listOf (lib.types.submodule {
options = {
username = lib.mkOption {

View file

@ -9,15 +9,18 @@ let
settingsFormat = formatXML {};
moreOptions = {
settings = lib.mkOption {
description = "Specific options for radarr.";
default = {};
type = lib.types.submodule {
freeformType = apps.radarr.settingsFormat.type;
options = {
APIKeyFile = lib.mkOption {
type = lib.types.path;
description = "Path to api key secret file.";
};
LogLevel = lib.mkOption {
type = lib.types.enum ["debug" "info"];
description = "Log level.";
default = "info";
};
};
@ -58,6 +61,7 @@ let
};
OmdbApiKeyFile = lib.mkOption {
type = lib.types.nullOr lib.types.path;
description = "File containing the Open Movie Database API key.";
default = null;
};
ProxyType = lib.mkOption {
@ -72,10 +76,12 @@ let
};
ProxyUrl = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "URL of the proxy. Ignored if ProxyType is set to -1";
default = null;
};
ProxyPort = lib.mkOption {
type = lib.types.nullOr lib.types.port;
description = "Port of the proxy. Ignored if ProxyType is set to -1";
default = null;
};
};

View file

@ -57,6 +57,7 @@ in
};
smtp = lib.mkOption {
description = "SMTP options.";
type = lib.types.submodule {
options = {
from_address = lib.mkOption {
@ -102,6 +103,7 @@ in
backupConfig = lib.mkOption {
type = lib.types.nullOr lib.types.anything;
description = "Backup configuration of Vaultwarden.";
default = null;
};