nix: enable optimisation of the store
This commit is contained in:
parent
29e8287b4d
commit
d620435a03
1 changed files with 10 additions and 4 deletions
|
@ -5,10 +5,16 @@
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 20d";
|
options = "--delete-older-than 20d";
|
||||||
|
# Catch up on missed runs due to being powered off
|
||||||
|
persistent = true;
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
# Deduplicate identical files in the store regularly
|
||||||
|
optimise.automatic = true;
|
||||||
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
settings.experimental-features = [
|
|
||||||
"nix-command"
|
|
||||||
"flakes"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue