From 40cb08e871296817225c6efb7b1fed22329cde0d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 8 Sep 2018 17:50:17 +0200 Subject: ... --- custom/bar-service.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/bar-service.nix b/custom/bar-service.nix index 6e10d24b..f355cd15 100644 --- a/custom/bar-service.nix +++ b/custom/bar-service.nix @@ -98,7 +98,7 @@ in { PORT = toString cfg.port; HOST = cfg.host; APPROOT = cfg.approot; - IP_FROM_HEADER = toString cfg.ipFromHeader; + IP_FROM_HEADER = if cfg.ipFromHeader then "True" else "False"; TPRINT_BASEURL = mkIf (cfg.thermoprintBaseURL != null) cfg.thermoprintBaseURL; }; -- cgit v1.2.3