1 { config, lib, pkgs, ... }:
11 services.oidentd.enable = mkOption {
14 description = lib.mdDoc ''
15 Whether to enable ‘oidentd’, an implementation of the Ident
16 protocol (RFC 1413). It allows remote systems to identify the
17 name of the user associated with a TCP connection.
26 config = mkIf config.services.oidentd.enable {
27 systemd.services.oidentd = {
28 after = [ "network.target" ];
29 wantedBy = [ "multi-user.target" ];
30 serviceConfig.Type = "forking";
31 script = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup";
34 users.users.oidentd = {
35 description = "Ident Protocol daemon user";
37 uid = config.ids.uids.oidentd;
40 users.groups.oidentd.gid = config.ids.gids.oidentd;