added gc
This commit is contained in:
parent
5872456084
commit
8b8ecac876
1 changed files with 10 additions and 0 deletions
|
@ -7,6 +7,16 @@
|
|||
../gnome
|
||||
];
|
||||
|
||||
#Optimise nix store
|
||||
nix = {
|
||||
optimise.automatic = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
};
|
||||
|
||||
# Enable nix flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue