Enable gc and optimise
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m52s

This commit is contained in:
Torjus Håkestad 2025-02-06 23:39:54 +01:00
parent 44d4dc6cdf
commit fbcb81291b
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -1,19 +1,30 @@
{ pkgs, ... }:
{ ... }:
{
nix = {
gc = {
automatic = true;
};
nix.settings.trusted-substituters = [
optimise = {
automatic = true;
};
settings = {
trusted-substituters = [
"https://nix-cache.home.2rjus.net"
"https://cache.nixos.org"
"https://cuda-maintainers.cachix.org"
];
nix.settings.substituters = [
substituters = [
"https://nix-cache.home.2rjus.net"
"https://cache.nixos.org"
"https://cuda-maintainers.cachix.org"
];
nix.settings.trusted-public-keys = [
trusted-public-keys = [
"nix-cache.home.2rjus.net-1:2kowZOG6pvhoK4AHVO3alBlvcghH20wchzoR0V86UWI="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
];
};
};
}