ccache?
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user