store optimisation
This commit is contained in:
parent
4f0f87207f
commit
27aa743e28
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue