Merge pull request #73614 from roberth/nixos-typed-ids

nixos/ids: Add types to allow overrides on static uids, gids
This commit is contained in:
Silvan Mosberger 2019-11-18 16:38:13 +01:00 committed by GitHub
commit 01037b305c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
};
};