summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/bar-service.nix2
1 files changed, 1 insertions, 1 deletions
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 {
98 PORT = toString cfg.port; 98 PORT = toString cfg.port;
99 HOST = cfg.host; 99 HOST = cfg.host;
100 APPROOT = cfg.approot; 100 APPROOT = cfg.approot;
101 IP_FROM_HEADER = toString cfg.ipFromHeader; 101 IP_FROM_HEADER = if cfg.ipFromHeader then "True" else "False";
102 TPRINT_BASEURL = mkIf (cfg.thermoprintBaseURL != null) cfg.thermoprintBaseURL; 102 TPRINT_BASEURL = mkIf (cfg.thermoprintBaseURL != null) cfg.thermoprintBaseURL;
103 }; 103 };
104 104