summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorYorick <yorick@yorickvanpelt.nl>2023-09-09 18:45:45 +0200
committerGitHub <noreply@github.com>2023-09-09 18:45:45 +0200
commitdf123af8b8836fff8eb316d2be3b30c91d237fa4 (patch)
treee900504e12ac6b8e337fab2d205e27c54530ccbc /nixos
parent42344dcc2960db4dbe67fccd526f97324ee22441 (diff)
parent5110d348b258aa3397b15876c68e5b17a4080c9c (diff)
downloadnixpkgs-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar
nixpkgs-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.gz
nixpkgs-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.bz2
nixpkgs-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.lz
nixpkgs-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.xz
nixpkgs-df123af8b8836fff8eb316d2be3b30c91d237fa4.tar.zst
nixpkgs-df123af8b8836fff8eb316d2be3b30c91d237fa4.zip
Merge pull request #248502 from kurnevsky/wstunnel
wstunnel: correct listen option
Diffstat (limited to 'nixos')
-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 067d5df4872..3c3ecc3e04d 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;
           }
         '';