added storage optimization settings to optimise and gc the nix store.
This commit is contained in:
parent
02458fec21
commit
80ac00a7cf
2 changed files with 18 additions and 3 deletions
|
@ -13,6 +13,15 @@
|
|||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
optimise.automatic = true;
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue