change staticids

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

View File

@@ -1,5 +1,27 @@
{}: {
config.ids = {
{ lib, ... }:
let
inherit (lib) types;
in
{
options = {
ids.uids = lib.mkOption {
internal = true;
description = lib.mdDoc ''
The user IDs used in NixOS.
'';
type = types.attrsOf types.int;
};
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;
};
@@ -7,4 +29,5 @@
unbound = 10001;
};
};
};
}