From e166ef50e99cfd2a4451adc922d936ef116899c9 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 14 Jun 2026 00:33:18 +0200 Subject: modules/cargo: Move the shared-target to `.cache` That means it's no longer synchronized or backup-ed (without special exclude filters.) --- modules/by-name/ca/cargo/module.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/by-name') diff --git a/modules/by-name/ca/cargo/module.nix b/modules/by-name/ca/cargo/module.nix index d36a11e5..6a0675d3 100644 --- a/modules/by-name/ca/cargo/module.nix +++ b/modules/by-name/ca/cargo/module.nix @@ -27,8 +27,7 @@ in { cargoHome = "${config.home-manager.users.soispha.xdg.dataHome}/cargo"; settings = { - # {cargo-cache-home} means $CARGO_HOME - build.build-dir = "{cargo-cache-home}/shared-target/"; + build.build-dir = "${config.home-manager.users.soispha.xdg.cacheHome}/cargo/shared-target/"; }; }; }; -- cgit v1.3.1