try to fix ids

This commit is contained in:
2023-12-05 11:19:28 +01:00
parent 1030766305
commit 4832fcea2f
3 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,33 @@
{ 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;
};
};
};
}