about summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorEvgeny Kurnevsky <kurnevsky@gmail.com>2023-08-11 11:18:57 +0300
committerEvgeny Kurnevsky <kurnevsky@gmail.com>2023-08-11 11:58:40 +0300
commit5110d348b258aa3397b15876c68e5b17a4080c9c (patch)
tree3fe4b4fbfb15059d80a7fd69400e09cd9fee754f /nixos/modules/services/networking
parent4f3a074422623781034daf8b1a966ee556587539 (diff)
downloadnixlib-5110d348b258aa3397b15876c68e5b17a4080c9c.tar
nixlib-5110d348b258aa3397b15876c68e5b17a4080c9c.tar.gz
nixlib-5110d348b258aa3397b15876c68e5b17a4080c9c.tar.bz2
nixlib-5110d348b258aa3397b15876c68e5b17a4080c9c.tar.lz
nixlib-5110d348b258aa3397b15876c68e5b17a4080c9c.tar.xz
nixlib-5110d348b258aa3397b15876c68e5b17a4080c9c.tar.zst
nixlib-5110d348b258aa3397b15876c68e5b17a4080c9c.zip
wstunnel: correct listen option
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r--nixos/modules/services/networking/wstunnel.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/wstunnel.nix b/nixos/modules/services/networking/wstunnel.nix
index 067d5df48725..3c3ecc3e04d7 100644
--- a/nixos/modules/services/networking/wstunnel.nix
+++ b/nixos/modules/services/networking/wstunnel.nix
@@ -86,12 +86,12 @@ let
         description = mdDoc "Address and port to listen on. Setting the port to a value below 1024 will also give the process the required `CAP_NET_BIND_SERVICE` capability.";
         type = types.submodule hostPortSubmodule;
         default = {
-          address = "0.0.0.0";
+          host = "0.0.0.0";
           port = if config.enableHTTPS then 443 else 80;
         };
         defaultText = literalExpression ''
           {
-            address = "0.0.0.0";
+            host = "0.0.0.0";
             port = if enableHTTPS then 443 else 80;
           }
         '';