From 149fb601dd1546587934c74724ff7fb700c75380 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 15 Feb 2024 13:22:16 +0100 Subject: [PATCH] nixos/tinyproxy: add quotes around the filter path Using already existing function --- nixos/modules/services/networking/tinyproxy.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/networking/tinyproxy.nix b/nixos/modules/services/networking/tinyproxy.nix index 8ff12b52f10c..2b7509e99ca4 100644 --- a/nixos/modules/services/networking/tinyproxy.nix +++ b/nixos/modules/services/networking/tinyproxy.nix @@ -7,6 +7,7 @@ let mkValueStringTinyproxy = with lib; v: if true == v then "yes" else if false == v then "no" + else if types.path.check v then ''"${v}"'' else generators.mkValueStringDefault {} v; mkKeyValueTinyproxy = { mkValueString ? mkValueStringDefault {}