From f074bfe0a0e33716f53435d88e6e587e9011b312 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 18 Nov 2019 09:08:10 +0100 Subject: [PATCH] nixos/ids: Add types to allow overrides on static uids, gids --- nixos/modules/misc/ids.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index a4db2c9d1d87..f8b188e7b1c6 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -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; }; };