summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-09-08 15:01:18 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-09-08 15:01:18 +0200
commit6ce06dec7650046ccf2ab861cc1f0b409388f974 (patch)
tree4fb16fbcd4bd1cca18a5169c683e355e6bfce9f7 /custom
parentceba5f723ef453fcf8539be823bf118d49ebffd2 (diff)
downloadnixos-6ce06dec7650046ccf2ab861cc1f0b409388f974.tar
nixos-6ce06dec7650046ccf2ab861cc1f0b409388f974.tar.gz
nixos-6ce06dec7650046ccf2ab861cc1f0b409388f974.tar.bz2
nixos-6ce06dec7650046ccf2ab861cc1f0b409388f974.tar.xz
nixos-6ce06dec7650046ccf2ab861cc1f0b409388f974.zip
...
Diffstat (limited to 'custom')
-rw-r--r--custom/bar-service.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/custom/bar-service.nix b/custom/bar-service.nix
index 67e1fc60..31ae718e 100644
--- a/custom/bar-service.nix
+++ b/custom/bar-service.nix
@@ -44,6 +44,12 @@ in {
44 description = "Subdirectory of the daemon-managed site relative to HTTP /; only useful when using a reverse proxy"; 44 description = "Subdirectory of the daemon-managed site relative to HTTP /; only useful when using a reverse proxy";
45 }; 45 };
46 46
47 ipFromHeader = mkOption {
48 type = types.bool;
49 default = false;
50 description = "Determine IP from a HTTP header";
51 };
52
47 thermoprintBaseURL = mkOption { 53 thermoprintBaseURL = mkOption {
48 type = with types; nullOr types.str; 54 type = with types; nullOr types.str;
49 default = null; 55 default = null;