summary refs log tree commit diff
path: root/nixos/modules/services/networking/mosquitto.nix
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2017-04-11 18:08:51 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2017-04-11 18:18:53 +0200
commit3ab45f4b369c9c741b55ddedeaac4c797dc61c04 (patch)
tree3c5e330622e42066e50ab20a6c58b9251addf863 /nixos/modules/services/networking/mosquitto.nix
parent54fff9ec1a9e7425926eadffada0268351536926 (diff)
downloadnixpkgs-3ab45f4b369c9c741b55ddedeaac4c797dc61c04.tar
nixpkgs-3ab45f4b369c9c741b55ddedeaac4c797dc61c04.tar.gz
nixpkgs-3ab45f4b369c9c741b55ddedeaac4c797dc61c04.tar.bz2
nixpkgs-3ab45f4b369c9c741b55ddedeaac4c797dc61c04.tar.lz
nixpkgs-3ab45f4b369c9c741b55ddedeaac4c797dc61c04.tar.xz
nixpkgs-3ab45f4b369c9c741b55ddedeaac4c797dc61c04.tar.zst
nixpkgs-3ab45f4b369c9c741b55ddedeaac4c797dc61c04.zip
treewide: use boolToString function
Diffstat (limited to 'nixos/modules/services/networking/mosquitto.nix')
-rw-r--r--nixos/modules/services/networking/mosquitto.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/mosquitto.nix b/nixos/modules/services/networking/mosquitto.nix
index 2325424ff3c..5451500b56f 100644
--- a/nixos/modules/services/networking/mosquitto.nix
+++ b/nixos/modules/services/networking/mosquitto.nix
@@ -16,7 +16,7 @@ let
     pid_file /run/mosquitto/pid
     acl_file ${aclFile}
     persistence true
-    allow_anonymous ${if cfg.allowAnonymous then "true" else "false"}
+    allow_anonymous ${boolToString cfg.allowAnonymous}
     bind_address ${cfg.host}
     port ${toString cfg.port}
     ${listenerConf}