summary refs log tree commit diff
path: root/nixos/modules/services/networking/oidentd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/networking/oidentd.nix')
-rw-r--r--nixos/modules/services/networking/oidentd.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/oidentd.nix b/nixos/modules/services/networking/oidentd.nix
index 923e7cd0986..738ab8313a5 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 = {