store optimisation

This commit is contained in:
twoneis 2024-01-07 14:54:08 +01:00
parent 4f0f87207f
commit 27aa743e28
3 changed files with 4 additions and 4 deletions

View file

@ -7,8 +7,8 @@
./audio.nix ./audio.nix
./fonts.nix ./fonts.nix
./docker.nix ./docker.nix
../gnome ./gnome
../niri ./niri
]; ];
# Allow packages from nixpkgs # Allow packages from nixpkgs
@ -18,12 +18,12 @@
#Optimise nix store #Optimise nix store
nix = { nix = {
optimise.automatic = true;
gc = { gc = {
automatic = true; automatic = true;
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 7d";
}; };
settings.auto-optimise-store = true;
}; };
# Enable nix flakes # Enable nix flakes