(hydrogen/system) add nix settings

This commit is contained in:
Laureηt 2023-06-19 21:09:13 +02:00
parent 7c64621be1
commit 9d86db55a4
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -0,0 +1,11 @@
{ ... }: {
# optimizations
nix.settings.auto-optimise-store = true;
# garbage collection
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
}