nixos/modules/nix.nix

17 lines
438 B
Nix

{
nix.gc = {
automatic = false;
dates = "weekly";
options = "--delete-older-than 30d";
};
nix.settings.substituters = [
"https://attic.xuyh0120.win/lantian"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
];
nix.settings.trusted-public-keys = [
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
}