X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fenvironment.nix;h=29ea1739f962bf9c65c57b17df241b982ea81aab;hp=b7589eb3489fd3da9085398ff332f43e38e59602;hb=8a05c7fb2e7aad81ce4eb31b5173f4dabf353e31;hpb=6191bdeb78947a3590b9c3cfeeacd9c9168367c4 diff --git a/modules/private/environment.nix b/modules/private/environment.nix index b7589eb..29ea173 100644 --- a/modules/private/environment.nix +++ b/modules/private/environment.nix @@ -133,8 +133,8 @@ let ''; type = submodule { options = { - password = mkOption { type = string; description = "Password for the LDAP connection"; }; - dn = mkOption { type = string; description = "DN for the LDAP connection"; }; + password = mkOption { type = str; description = "Password for the LDAP connection"; }; + dn = mkOption { type = str; description = "DN for the LDAP connection"; }; }; }; }; @@ -156,13 +156,13 @@ let type = attrsOf (submodule { options = { ip4 = mkOption { - type = string; + type = str; description = '' ip4 address of the host ''; }; ip6 = mkOption { - type = listOf string; + type = listOf str; default = []; description = '' ip6 addresses of the host @@ -917,6 +917,16 @@ in }; }; }; + syden_peertube = mkOption { + description = "Peertube Syden configuration"; + type = submodule { + options = { + listenPort = mkOption { type = port; description = "Port to listen to"; }; + postgresql = mkPsqlOptions "Peertube"; + redis = mkRedisOptions "Peertube"; + }; + }; + }; phpldapadmin = mkOption { description = "phpLdapAdmin configuration"; type = submodule {