about summary refs log tree commit diff
path: root/nixos/modules/services/networking/sslh.nix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2015-12-24 00:23:51 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2015-12-24 00:23:51 +0100
commit46924e77a2c1c9bf0f018a8dc9d878958e243d20 (patch)
treeb6feb5538b18885ae2cca0e3450ef86476eacd59 /nixos/modules/services/networking/sslh.nix
parent6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79 (diff)
nixos/sslh: rename 'host' to 'listenAddress'
More descriptive option name.
Diffstat (limited to 'nixos/modules/services/networking/sslh.nix')
-rw-r--r--nixos/modules/services/networking/sslh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/sslh.nix b/nixos/modules/services/networking/sslh.nix
index c87fe914df8bc..bd584a3a85d3e 100644
--- a/nixos/modules/services/networking/sslh.nix
+++ b/nixos/modules/services/networking/sslh.nix
@@ -16,7 +16,7 @@ let
 
     listen:
     (
-      { host: "${cfg.host}"; port: "${toString cfg.port}"; }
+      { host: "${cfg.listenAddress}"; port: "${toString cfg.port}"; }
     );
 
     ${cfg.appendConfig}
@@ -56,7 +56,7 @@ in
         description = "PID file path for sslh daemon.";
       };
 
-      host = mkOption {
+      listenAddress = mkOption {
         type = types.str;
         default = config.networking.hostName;
         description = "Listening hostname.";