4 cfg = config.services.userdbd;
7 options.services.userdbd.enable = lib.mkEnableOption ''
8 the systemd JSON user/group record lookup service
10 config = lib.mkIf cfg.enable {
11 systemd.additionalUpstreamSystemUnits = [
12 "systemd-userdbd.socket"
13 "systemd-userdbd.service"
16 systemd.sockets.systemd-userdbd.wantedBy = [ "sockets.target" ];