Skip to content

Commit

Permalink
programs/ccache: persist cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
linyinfeng committed Sep 20, 2023
1 parent f6ba669 commit bea0698
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/profiles/programs/ccache/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
in {
programs.ccache.enable = true;
nix.settings.extra-sandbox-paths = [cfg.cacheDir];
environment.global-persistence.directories = [cfg.cacheDir];
}

0 comments on commit bea0698

Please sign in to comment.