From 6fda200fa49ff324652eb0e6a51840d58e14849d Mon Sep 17 00:00:00 2001 From: Keith Pine Date: Mon, 3 Jun 2024 07:49:36 -0700 Subject: [PATCH] nixos/inadyn: fix cache directory path The CacheDirectory subdirectory is already part of $CACHE_DIRECTORY. --- nixos/modules/services/networking/inadyn.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/inadyn.nix b/nixos/modules/services/networking/inadyn.nix index baa4302096c2..7022673538c8 100644 --- a/nixos/modules/services/networking/inadyn.nix +++ b/nixos/modules/services/networking/inadyn.nix @@ -202,7 +202,7 @@ in startAt = cfg.interval; serviceConfig = { Type = "oneshot"; - ExecStart = ''${lib.getExe pkgs.inadyn} -f ${configFile} --cache-dir ''${CACHE_DIRECTORY}/inadyn -1 --foreground -l ${cfg.logLevel}''; + ExecStart = ''${lib.getExe pkgs.inadyn} -f ${configFile} --cache-dir ''${CACHE_DIRECTORY} -1 --foreground -l ${cfg.logLevel}''; LoadCredential = "config:${configFile}"; CacheDirectory = "inadyn";