nix: enable optimisation of the store

This commit is contained in:
Nydragon 2024-05-28 15:31:26 +09:00
parent 29e8287b4d
commit d620435a03
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209

View file

@ -5,10 +5,16 @@
automatic = true;
dates = "weekly";
options = "--delete-older-than 20d";
# Catch up on missed runs due to being powered off
persistent = true;
};
settings.experimental-features = [
settings = {
# Deduplicate identical files in the store regularly
optimise.automatic = true;
experimental-features = [
"nix-command"
"flakes"
];
};
};
}