change staticids

This commit is contained in:
2023-12-05 11:13:20 +01:00
parent 560c3967aa
commit 2be2aa013d

View File

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