summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorlethalman <lucabru@src.gnome.org>2015-09-18 15:20:02 +0200
committerlethalman <lucabru@src.gnome.org>2015-09-18 15:20:02 +0200
commitd6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2 (patch)
tree130095421d685b1843a21cffadb7ba079b341e0a /nixos
parentef9a50b0a6f153f6be12710262b1a9ebff218988 (diff)
parentfc96dbb1a2ab7a5dc75670acb45d603ca728eaeb (diff)
downloadnixpkgs-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar
nixpkgs-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.gz
nixpkgs-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.bz2
nixpkgs-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.lz
nixpkgs-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.xz
nixpkgs-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.zst
nixpkgs-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.zip
Merge pull request #9317 from dfoxfranke/oidentd-ipv6
oidentd: listen on IPv6
Diffstat (limited to 'nixos')
-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 = {