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 = {
"https://nix-cache.home.2rjus.net" automatic = true;
"https://cache.nixos.org" };
"https://cuda-maintainers.cachix.org"
]; settings = {
nix.settings.substituters = [ trusted-substituters = [
"https://nix-cache.home.2rjus.net" "https://nix-cache.home.2rjus.net"
"https://cache.nixos.org" "https://cache.nixos.org"
"https://cuda-maintainers.cachix.org" "https://cuda-maintainers.cachix.org"
]; ];
nix.settings.trusted-public-keys = [ substituters = [
"nix-cache.home.2rjus.net-1:2kowZOG6pvhoK4AHVO3alBlvcghH20wchzoR0V86UWI=" "https://nix-cache.home.2rjus.net"
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" "https://cache.nixos.org"
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E=" "https://cuda-maintainers.cachix.org"
]; ];
trusted-public-keys = [
"nix-cache.home.2rjus.net-1:2kowZOG6pvhoK4AHVO3alBlvcghH20wchzoR0V86UWI="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
];
};
};
} }