change staticids
This commit is contained in:
@@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user