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
|
||||
./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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue