mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixos/kanidm: add option and tests for imperative group management
This commit is contained in:
parent
b7f5fce1ca
commit
5f833b1008
2 changed files with 30 additions and 0 deletions
|
@ -460,6 +460,17 @@ in
|
|||
apply = unique;
|
||||
default = [ ];
|
||||
};
|
||||
|
||||
overwriteMembers = mkOption {
|
||||
description = ''
|
||||
Whether the member list should be overwritten each time (true) or appended
|
||||
(false). Append mode allows interactive group management in addition to the
|
||||
declared members. Also, future member removals cannot be reflected
|
||||
automatically in append mode.
|
||||
'';
|
||||
type = types.bool;
|
||||
default = true;
|
||||
};
|
||||
};
|
||||
config.members = concatLists (
|
||||
flip mapAttrsToList cfg.provision.persons (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue