{ lib, ... }: let inherit (lib) types; in { options.services = { ids.uids = lib.mkOption { internal = true; description = lib.mdDoc '' The user IDs used for containers. ''; type = types.attrsOf types.int; }; ids.gids = lib.mkOption { internal = true; description = lib.mdDoc '' The group IDs used for containers. ''; type = types.attrsOf types.int; }; }; config = { services.ids = { uids = { unbound = 10001; }; gids = { unbound = 10001; }; }; }; }