summary refs log tree commit diff
path: root/nixos/modules/services/misc/confd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/misc/confd.nix')
-rwxr-xr-xnixos/modules/services/misc/confd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/confd.nix b/nixos/modules/services/misc/confd.nix
index fe13013286b..8e9bec15dd4 100755
--- a/nixos/modules/services/misc/confd.nix
+++ b/nixos/modules/services/misc/confd.nix
@@ -12,7 +12,7 @@ let
     nodes = [ ${concatMapStringsSep "," (s: ''"${s}"'') cfg.nodes}, ]
     prefix = "${cfg.prefix}"
     log-level = "${cfg.logLevel}"
-    watch = ${if cfg.watch then "true" else "false"}
+    watch = ${boolToString cfg.watch}
   '';
 
 in {