about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2020-02-24 17:24:19 +0000
committerGitHub <noreply@github.com>2020-02-24 17:24:19 +0000
commitee08bd8dec62eddd8244532e5068f97e80f92d9f (patch)
tree2b3ccb281e6194d9e32ca2fe91bf62c13405b096 /nixos
parent7c495392528bd90a7f2c9dac9ede5c2822ec4b85 (diff)
parent8cfd0032956f49a9998b2b438c09df4e274956c4 (diff)
downloadnixlib-ee08bd8dec62eddd8244532e5068f97e80f92d9f.tar
nixlib-ee08bd8dec62eddd8244532e5068f97e80f92d9f.tar.gz
nixlib-ee08bd8dec62eddd8244532e5068f97e80f92d9f.tar.bz2
nixlib-ee08bd8dec62eddd8244532e5068f97e80f92d9f.tar.lz
nixlib-ee08bd8dec62eddd8244532e5068f97e80f92d9f.tar.xz
nixlib-ee08bd8dec62eddd8244532e5068f97e80f92d9f.tar.zst
nixlib-ee08bd8dec62eddd8244532e5068f97e80f92d9f.zip
Merge pull request #80831 from Mic92/netdata
netdata: 1.19.0 -> 1.20.0
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/stubby.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/stubby.nix b/nixos/modules/services/networking/stubby.nix
index b38bcd4cec05..849d266576d5 100644
--- a/nixos/modules/services/networking/stubby.nix
+++ b/nixos/modules/services/networking/stubby.nix
@@ -72,6 +72,7 @@ let
     resolution_type: GETDNS_RESOLUTION_STUB
     dns_transport_list:
       ${fallbacks}
+    appdata_dir: "/var/cache/stubby"
     tls_authentication: ${cfg.authenticationMode}
     tls_query_padding_blocksize: ${toString cfg.queryPaddingBlocksize}
     edns_client_subnet_private: ${if cfg.subnetPrivate then "1" else "0"}
@@ -208,6 +209,7 @@ in
         CapabilityBoundingSet = "CAP_NET_BIND_SERVICE";
         ExecStart = "${pkgs.stubby}/bin/stubby -C ${confFile} ${optionalString cfg.debugLogging "-l"}";
         DynamicUser = true;
+        CacheDirectory = "stubby";
       };
     };
   };