diff --git a/nixos/modules/services/networking/epmd.nix b/nixos/modules/services/networking/epmd.nix index d2aceb5a9bb1..08e9400702da 100644 --- a/nixos/modules/services/networking/epmd.nix +++ b/nixos/modules/services/networking/epmd.nix @@ -5,6 +5,8 @@ ... }: let + inherit (lib.types) listOf oneOf str; + cfg = config.services.epmd; in { @@ -21,7 +23,10 @@ in }; package = lib.mkPackageOption pkgs "erlang" { }; listenStream = lib.mkOption { - type = lib.types.str; + type = oneOf [ + str + (listOf str) + ]; default = "[::]:4369"; description = '' the listenStream used by the systemd socket.