feat: move nix settings to nix.nix

This commit is contained in:
2026-02-20 19:43:02 +01:00
parent 5e84ea16ea
commit 6fe546b632
3 changed files with 24 additions and 15 deletions

23
nix.nix Normal file
View File

@@ -0,0 +1,23 @@
{
nix = {
settings = {
experimental-features = [
"nix-command"
"flakes"
];
download-buffer-size = 2 * 1024 * 1024 * 1024;
warn-dirty = false;
};
gc = {
automatic = true;
dates = "monthly";
options = "--delete-older-than 30d";
};
optimise = {
automatic = true;
dates = [ "monthly" ];
};
};
}