nixos/modules/nix.nix

17 lines
437 B
Nix

{
nix.gc = {
automatic = false;
dates = "weekly";
options = "--delete-older-than 30d";
};
nix.settings.substituters = [
"https://cache.lantian.pub/lantian"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
nix.settings.trusted-public-keys = [
"lantian:WVGO7vsRMSEN+h7Lp7kv6SAmrkEXgUGbbXm7jMDjBuQ="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
}