diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-04-29 03:56:40 +0200 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-05-01 19:46:48 +0200 |
commit | a2d1d16af82b7133547353568c5af33bbfcdca28 (patch) | |
tree | a4d4f28335739dc507200d8fb8cf911bdde6a499 | |
parent | 33e867620eb1e27d44a35fb57944ce8a5bccfdab (diff) | |
download | nixpkgs-a2d1d16af82b7133547353568c5af33bbfcdca28.tar nixpkgs-a2d1d16af82b7133547353568c5af33bbfcdca28.tar.gz nixpkgs-a2d1d16af82b7133547353568c5af33bbfcdca28.tar.bz2 nixpkgs-a2d1d16af82b7133547353568c5af33bbfcdca28.tar.lz nixpkgs-a2d1d16af82b7133547353568c5af33bbfcdca28.tar.xz nixpkgs-a2d1d16af82b7133547353568c5af33bbfcdca28.tar.zst nixpkgs-a2d1d16af82b7133547353568c5af33bbfcdca28.zip |
nixos/mosquitto: Migrate away from bind_address/port config keys
Fixes these two deprecation warnings, by moving away from these options towards a simple listener configuration. > The 'bind_address' option is now deprecated and will be removed in a future version. The behaviour will default to true. > The 'port' option is now deprecated and will be removed in a future version. Please use 'listener' instead. Fixes: #120860
-rw-r--r-- | nixos/modules/services/networking/mosquitto.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/mosquitto.nix b/nixos/modules/services/networking/mosquitto.nix index b98a717e658..8e814ffd0b9 100644 --- a/nixos/modules/services/networking/mosquitto.nix +++ b/nixos/modules/services/networking/mosquitto.nix @@ -20,8 +20,7 @@ let acl_file ${aclFile} persistence true allow_anonymous ${boolToString cfg.allowAnonymous} - bind_address ${cfg.host} - port ${toString cfg.port} + listener ${toString cfg.port} ${cfg.host} ${passwordConf} ${listenerConf} ${cfg.extraConf} |