nixfiles/modules/nix.nix
Callum Leslie e79499c35f
Some checks failed
/ ci (push) Has been cancelled
fix and update to 25.05 woo
2025-07-17 08:46:43 +01:00

26 lines
727 B
Nix

{inputs, ...}: {
nix = {
registry.nixpkgs.flake = inputs.nixpkgs;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
extraOptions = "gc-keep-outputs = true";
settings = {
experimental-features = ["nix-command" "flakes" "auto-allocate-uids"];
auto-optimise-store = true;
auto-allocate-uids = true;
substituters = [
"https://nix-community.cachix.org"
"https://callumio-public.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"callumio-public.cachix.org-1:VucOSl7vh44GdqcILwMIeHlI0ufuAnHAl8cO1U/7yhg="
];
};
};
}