try to fix ids

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

View file

@ -1,33 +0,0 @@
{ lib, ... }:
let
inherit (lib) types;
in
{
options = {
container-ids.uids = lib.mkOption {
internal = true;
description = lib.mdDoc ''
The user IDs used in NixOS.
'';
type = types.attrsOf types.int;
};
container-ids.gids = lib.mkOption {
internal = true;
description = lib.mdDoc ''
The group IDs used in NixOS.
'';
type = types.attrsOf types.int;
};
};
config = {
container-ids = {
uids = {
unbound = 10001;
};
gids = {
unbound = 10001;
};
};
};
}