2 description = "Immae Specific uids";
6 # Check that there is no clash with nixos/modules/misc/ids.nix
9 openldap = 99; # commented in the ids file
24 nagios = 11; # commented in the ids file
25 openldap = 99; # commented in the ids file
40 nixosModule = { config, lib, ... }: {
42 ids.uids = self.lib.uids;
43 ids.gids = self.lib.gids;
46 assertion = builtins.length (builtins.attrValues config.ids.gids) == builtins.length (lib.unique (builtins.attrValues config.ids.gids));
47 message = "Non-unique list of gids";
50 assertion = builtins.length (builtins.attrValues config.ids.uids) == builtins.length (lib.unique (builtins.attrValues config.ids.uids));
51 message = "Non-unique list of uids";