nixos/ids: Add types to allow overrides on static uids, gids
This commit is contained in:
parent
204bce4bfb
commit
f074bfe0a0
1 changed files with 5 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
|
||||
{ lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) types;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
|
||||
|
@ -19,6 +22,7 @@
|
|||
description = ''
|
||||
The user IDs used in NixOS.
|
||||
'';
|
||||
type = types.attrsOf types.int;
|
||||
};
|
||||
|
||||
ids.gids = lib.mkOption {
|
||||
|
@ -26,6 +30,7 @@
|
|||
description = ''
|
||||
The group IDs used in NixOS.
|
||||
'';
|
||||
type = types.attrsOf types.int;
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue