32 lines
549 B
Nix
32 lines
549 B
Nix
{ lib, ... }:
|
|
{
|
|
|
|
options.cids = {
|
|
uids = lib.mkOption {
|
|
readOnly = true;
|
|
description = lib.mdDoc ''
|
|
The user IDs used for containers.
|
|
'';
|
|
type = lib.types.attrsOf types.int;
|
|
};
|
|
|
|
gids = lib.mkOption {
|
|
readOnly = true;
|
|
description = lib.mdDoc ''
|
|
The group IDs used for containers.
|
|
'';
|
|
type = lib.types.attrsOf types.int;
|
|
};
|
|
};
|
|
config = {
|
|
cids = {
|
|
uids = {
|
|
unbound = 10001;
|
|
};
|
|
gids = {
|
|
unbound = 10001;
|
|
};
|
|
};
|
|
};
|
|
}
|