2024-08-22 07:46:19 -04:00
|
|
|
{
|
|
|
|
nix = {
|
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "daily";
|
2024-09-27 22:36:15 -04:00
|
|
|
options = "--delete-older-than 14d";
|
2024-08-22 07:46:19 -04:00
|
|
|
persistent = true;
|
|
|
|
randomizedDelaySec = "60min";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Run GC when there is less than 100MiB left.
|
|
|
|
extraOptions = ''
|
|
|
|
min-free = ${toString (100 * 1024 * 1024)}
|
|
|
|
max-free = ${toString (1024 * 1024 * 1024)}
|
|
|
|
'';
|
|
|
|
|
|
|
|
optimise.automatic = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
auto-optimise-store = false;
|
|
|
|
experimental-features = ["nix-command" "flakes"];
|
|
|
|
|
|
|
|
substituters = [
|
|
|
|
"https://alyraffauf.cachix.org"
|
|
|
|
"https://cache.nixos.org/"
|
2024-10-13 18:41:35 -04:00
|
|
|
"https://jovian-nixos.cachix.org"
|
2024-08-22 07:46:19 -04:00
|
|
|
"https://nix-community.cachix.org"
|
2024-10-13 18:41:35 -04:00
|
|
|
"https://nix-gaming.cachix.org"
|
2024-08-22 07:46:19 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
trusted-public-keys = [
|
|
|
|
"alyraffauf.cachix.org-1:GQVrRGfjTtkPGS8M6y7Ik0z4zLt77O0N25ynv2gWzDM="
|
2024-10-13 18:41:35 -04:00
|
|
|
"jovian-nixos.cachix.org-1:mAWLjAxLNlfxAnozUjOqGj4AxQwCl7MXwOfu7msVlAo="
|
2024-08-22 07:46:19 -04:00
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
2024-10-13 18:41:35 -04:00
|
|
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
2024-08-22 07:46:19 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
trusted-users = ["aly"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|