This commit is contained in:
mjallen18
2025-12-04 20:09:24 -06:00
parent 3c1c5b6292
commit d32826dc36
4 changed files with 121 additions and 101 deletions

View File

@@ -5,8 +5,39 @@
...
}:
{
programs.ccache = {
enable = true;
packageNames = [
"ffmpeg"
"ffmpeg-headless-rpi"
"gjs"
"gst-plugins-bad"
"gtk4"
"jemalloc"
"libcamera-rpi"
"libraspberrypi"
"libsecret"
"linux"
"pipewire"
"qemu"
"raspberrypi-utils"
"sdl"
"sdl2"
"uv"
# "yubioath-flutter"
];
cacheDir = "/var/cache/ccache"; # default location
};
# nixpkgs.overlays = [
# (self: super: {
# "yubioath-flutter" = super."yubioath-flutter".override { stdenv = super.ccacheStdenv; };
# })
# ];
nix = {
settings = {
extra-sandbox-paths = [ config.programs.ccache.cacheDir ];
substituters = [
"https://cache.mjallen.dev/nas-cache"
"https://nixos-raspberrypi.cachix.org"