nixos-config/modules/nix/default.nix
Charlotte 🦝 Delenk 9de9c44156
All checks were successful
Hydra nixosConfigurations.not522 Hydra build #22577 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.not522-installer Hydra build #22578 of nixos-config:pr618:nixosConfigurations.not522-installer
add extra nix settings
2024-10-31 13:48:51 +01:00

24 lines
619 B
Nix

{...}: {
imports = [
./link-inputs.nix
./lix.nix
];
nix.settings = {
substituters = [
"https://attic.chir.rs/chir-rs/"
"https://hydra.int.chir.rs"
];
trusted-public-keys = [
"nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg="
"hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs="
"chir-rs:rzK1Czm3RqBbZLnXYrLM6JyOhfr6Z/8lhACIPO/LNFQ="
];
auto-optimise-store = true;
experimental-features = "nix-command flakes ca-derivations";
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
}