diff options
author | lethalman <lucabru@src.gnome.org> | 2015-09-18 15:20:02 +0200 |
---|---|---|
committer | lethalman <lucabru@src.gnome.org> | 2015-09-18 15:20:02 +0200 |
commit | d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2 (patch) | |
tree | 130095421d685b1843a21cffadb7ba079b341e0a /nixos | |
parent | ef9a50b0a6f153f6be12710262b1a9ebff218988 (diff) | |
parent | fc96dbb1a2ab7a5dc75670acb45d603ca728eaeb (diff) | |
download | nixlib-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar nixlib-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.gz nixlib-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.bz2 nixlib-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.lz nixlib-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.xz nixlib-d6fd3c4270de9c0c2fcce53cfc4903e916d9a4c2.tar.zst nixlib-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.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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 = { |