diff options
author | Robert Hensing <robert@roberthensing.nl> | 2019-11-18 09:08:10 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2019-11-18 09:24:35 +0100 |
commit | f074bfe0a0e33716f53435d88e6e587e9011b312 (patch) | |
tree | 605bd90774da2dfaa00f4f7d0f6d2e7b4869fa54 /nixos/modules/misc/ids.nix | |
parent | 204bce4bfb2fce729e33d0fa29373e7a0d6cea71 (diff) | |
download | nixpkgs-f074bfe0a0e33716f53435d88e6e587e9011b312.tar nixpkgs-f074bfe0a0e33716f53435d88e6e587e9011b312.tar.gz nixpkgs-f074bfe0a0e33716f53435d88e6e587e9011b312.tar.bz2 nixpkgs-f074bfe0a0e33716f53435d88e6e587e9011b312.tar.lz nixpkgs-f074bfe0a0e33716f53435d88e6e587e9011b312.tar.xz nixpkgs-f074bfe0a0e33716f53435d88e6e587e9011b312.tar.zst nixpkgs-f074bfe0a0e33716f53435d88e6e587e9011b312.zip |
nixos/ids: Add types to allow overrides on static uids, gids
Diffstat (limited to 'nixos/modules/misc/ids.nix')
-rw-r--r-- | nixos/modules/misc/ids.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index a4db2c9d1d8..f8b188e7b1c 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; }; }; |