blob: da3feb1b44bc0705644344312e10592c3c99d615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ name, lib, ... }:
{
options = let
inherit (lib) mkOption types;
in {
name = mkOption {
type = types.str;
default = name;
description = ''
The group's name. If undefined, the name of the attribute set
will be used.
'';
};
gid = mkOption {
type = types.int;
description = "The group's GID.";
};
members = mkOption {
type = types.listOf types.str;
default = [];
description = "The group's members.";
};
description = mkOption {
type = types.str;
default = "";
description = "The group's description.";
};
};
}
|