48 lines
959 B
Nix
48 lines
959 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
options,
|
|
...
|
|
}:
|
|
{
|
|
programs.ccache.enable = true;
|
|
nix.settings.extra-sandbox-paths = [ config.programs.ccache.cacheDir ];
|
|
systemd.tmpfiles.rules = [
|
|
"d! ${config.programs.ccache.cacheDir} 770 root nixbld"
|
|
];
|
|
programs.ccache.packageNames = [
|
|
# "firefox-unwrapped"
|
|
];
|
|
|
|
nixpkgs.overlays =
|
|
(map
|
|
(
|
|
f:
|
|
(
|
|
final: prev:
|
|
(import f {
|
|
inherit
|
|
final
|
|
prev
|
|
lib
|
|
config
|
|
inputs
|
|
;
|
|
})
|
|
)
|
|
)
|
|
[
|
|
./lua_update.nix
|
|
./matrix-appservice-discord.nix
|
|
./ccache-wrapper.nix
|
|
./factorio.nix
|
|
./ranger.nix
|
|
./vesktop.nix
|
|
./firefox-search.nix
|
|
# ./grpcio-tools.nix
|
|
]
|
|
)
|
|
++ [ (import ./global/overlays.nix) ];
|
|
nix.nixPath = options.nix.nixPath.default ++ [ "nixpkgs-overlays=${./global}" ];
|
|
}
|