This commit is contained in:
mjallen18
2025-12-23 10:37:03 -06:00
parent 7d92e9b1cc
commit 15f186e3ce
3 changed files with 23 additions and 15 deletions

View File

@@ -1,4 +1,5 @@
{
config,
pkgs,
...
}:
@@ -36,8 +37,15 @@
enable = true;
config = ({ pkgs, ... }:
{
virtualisation.cores = 6;
environment.etc."ccache.conf".text = ''
remote_storage: redis://jallen-nas.local:6363
remote_only: true
'';
# programs.ccache.cacheDir = "/etc/ccache";
systemd.tmpfiles.rules = [
"d /var/cache/ccache 0770 root nixbld -"
# "d /var/cache/ccache 0770 builder nixbld -"
"p+ /var/cache/ccache/ccache.conf - - - - /etc/ccache.conf"
];
});
};