change staticids
This commit is contained in:
parent
560c3967aa
commit
2be2aa013d
1 changed files with 29 additions and 6 deletions
|
|
@ -1,5 +1,27 @@
|
||||||
{}: {
|
{ lib, ... }:
|
||||||
config.ids = {
|
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 = {
|
uids = {
|
||||||
unbound = 10001;
|
unbound = 10001;
|
||||||
};
|
};
|
||||||
|
|
@ -7,4 +29,5 @@
|
||||||
unbound = 10001;
|
unbound = 10001;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue