Added automatic nix store optimisation and garbage collection of versions older than 14 days

This commit is contained in:
2026-05-31 20:11:19 +02:00
parent f04a72f19d
commit 1ed32e29b0

View File

@ -26,7 +26,15 @@
}
];
nix = {
settings.nix-path = config.nix.nixPath;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
settings = {
auto-optimise-store = true;
nix-path = config.nix.nixPath;
};
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
};