34 lines
573 B
Nix
34 lines
573 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) types;
|
|
in
|
|
{
|
|
options = {
|
|
cids.uids = lib.mkOption {
|
|
internal = true;
|
|
description = lib.mdDoc ''
|
|
The user IDs used for containers.
|
|
'';
|
|
type = types.attrsOf types.int;
|
|
};
|
|
|
|
cids.gids = lib.mkOption {
|
|
internal = true;
|
|
description = lib.mdDoc ''
|
|
The group IDs used for containers.
|
|
'';
|
|
type = types.attrsOf types.int;
|
|
};
|
|
};
|
|
config = {
|
|
cids = {
|
|
uids = {
|
|
unbound = 10001;
|
|
};
|
|
gids = {
|
|
unbound = 10001;
|
|
};
|
|
};
|
|
};
|
|
}
|