diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-12-24 00:22:47 +0100 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2015-12-24 00:22:47 +0100 |
commit | 6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79 (patch) | |
tree | 1d1afb41bf3104e35115a6b795d606a198d617c7 /nixos/modules/services/networking/shout.nix | |
parent | 19aed49163da022eb0d7b6820bf19097fefa2dc3 (diff) | |
download | nixpkgs-6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79.tar nixpkgs-6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79.tar.gz nixpkgs-6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79.tar.bz2 nixpkgs-6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79.tar.lz nixpkgs-6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79.tar.xz nixpkgs-6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79.tar.zst nixpkgs-6c2fc3a5ac7e059cefa2cd0248acc9a2cb88be79.zip |
nixos/shout: rename 'host' to 'listenAddress'
More descriptive option name.
Diffstat (limited to 'nixos/modules/services/networking/shout.nix')
-rw-r--r-- | nixos/modules/services/networking/shout.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/shout.nix b/nixos/modules/services/networking/shout.nix index fe3cba8f149..f069fe7bec9 100644 --- a/nixos/modules/services/networking/shout.nix +++ b/nixos/modules/services/networking/shout.nix @@ -19,7 +19,7 @@ in { ''; }; - host = mkOption { + listenAddress = mkOption { type = types.string; default = "0.0.0.0"; description = "IP interface to listen on for http connections."; @@ -66,7 +66,7 @@ in { "${pkgs.shout}/bin/shout" (if cfg.private then "--private" else "--public") "--port" (toString cfg.port) - "--host" (toString cfg.host) + "--host" (toString cfg.listenAddress) "--home" shoutHome ]; serviceConfig = { |