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