lldap: set better default for enforceGroups
This commit is contained in:
parent
c0c9562789
commit
f3e9eb4206
2 changed files with 2 additions and 2 deletions
|
|
@ -331,7 +331,7 @@ in
|
||||||
enforceGroups = mkOption {
|
enforceGroups = mkOption {
|
||||||
description = "Remove groups not set declaratively.";
|
description = "Remove groups not set declaratively.";
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = true;
|
default = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
dashboard = lib.mkOption {
|
dashboard = lib.mkOption {
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ Also, all other groups will be deleted and only the "family" group will remain.
|
||||||
Note that the `lldap_admin`, `lldap_password_manager` and `lldap_strict_readonly` groups, which are internal to LLDAP, will always exist.
|
Note that the `lldap_admin`, `lldap_password_manager` and `lldap_strict_readonly` groups, which are internal to LLDAP, will always exist.
|
||||||
|
|
||||||
If you want existing groups not declared in the `shb.lldap.ensureGroups` to be deleted,
|
If you want existing groups not declared in the `shb.lldap.ensureGroups` to be deleted,
|
||||||
set [`shb.lldap.enforceGroups`](#blocks-lldap-options-shb.lldap.enforceGroups) to `false`.
|
set [`shb.lldap.enforceGroups`](#blocks-lldap-options-shb.lldap.enforceGroups) to `true`.
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue