diff --git a/home/programs/direnv/auto-prune.nix b/home/programs/direnv/auto-prune.nix index 4472789..c2fbc47 100644 --- a/home/programs/direnv/auto-prune.nix +++ b/home/programs/direnv/auto-prune.nix @@ -8,6 +8,7 @@ in Unit = { Description = "Prune unused allowed directories for direnv"; Documentation = [ "man:direnv(1)" ]; + ConditionPathExists = "${config.xdg.dataHome}/direnv/allow"; }; Service = {