16 services.oidentd.enable = mkOption {
20 Whether to enable ‘oidentd’, an implementation of the Ident
21 protocol (RFC 1413). It allows remote systems to identify the
22 name of the user associated with a TCP connection.
30 config = mkIf config.services.oidentd.enable {
31 systemd.services.oidentd = {
32 after = [ "network.target" ];
33 wantedBy = [ "multi-user.target" ];
34 serviceConfig.Type = "forking";
35 script = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup";
38 users.users.oidentd = {
39 description = "Ident Protocol daemon user";
41 uid = config.ids.uids.oidentd;
44 users.groups.oidentd.gid = config.ids.gids.oidentd;