Auto-clean-up steam deck nix store.

This commit is contained in:
Tom Alexander 2025-02-15 12:18:59 -05:00
parent 381e3fb591
commit 46b21370bd
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -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