summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-08 17:50:17 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-08 17:50:17 +0200
commit40cb08e871296817225c6efb7b1fed22329cde0d (patch)
tree191fad629657a4089616aa9ab08cb381bdce7e7e
parent144d6df3031fe61574436836706eda90e6a99ce9 (diff)
downloadnixos-40cb08e871296817225c6efb7b1fed22329cde0d.tar
nixos-40cb08e871296817225c6efb7b1fed22329cde0d.tar.gz
nixos-40cb08e871296817225c6efb7b1fed22329cde0d.tar.bz2
nixos-40cb08e871296817225c6efb7b1fed22329cde0d.tar.xz
nixos-40cb08e871296817225c6efb7b1fed22329cde0d.zip
...
-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