Auto-clean-up steam deck nix store.
This commit is contained in:
parent
381e3fb591
commit
46b21370bd
@ -29,6 +29,14 @@
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
# Automatic garbage collection
|
||||
nix.gc = {
|
||||
# Runs nix-collect-garbage --delete-older-than 30d
|
||||
automatic = true;
|
||||
randomizedDelaySec = "14m";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
pkgs.nixgl.nixGLIntel
|
||||
|
Loading…
x
Reference in New Issue
Block a user