From fc96dbb1a2ab7a5dc75670acb45d603ca728eaeb Mon Sep 17 00:00:00 2001 From: Daniel Fox Franke Date: Tue, 18 Aug 2015 01:10:48 -0400 Subject: [PATCH] oidentd: listen on IPv6 --- nixos/modules/services/networking/oidentd.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/oidentd.nix b/nixos/modules/services/networking/oidentd.nix index 923e7cd0986e..738ab8313a5d 100644 --- a/nixos/modules/services/networking/oidentd.nix +++ b/nixos/modules/services/networking/oidentd.nix @@ -28,7 +28,9 @@ with lib; jobs.oidentd = { startOn = "started network-interfaces"; daemonType = "fork"; - exec = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup"; + exec = "${pkgs.oidentd}/sbin/oidentd -u oidentd -g nogroup" + + optionalString config.networking.enableIPv6 " -a ::" + ; }; users.extraUsers.oidentd = {