You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please add Periodic nix-collect-garbage option like nix.gc in NixOS
Not fun when storage is needed for emergency but 'nix-collect-garbage -d` takes time to complete.
The text was updated successfully, but these errors were encountered:
AFAIK, nix-on-droid does stuff only when running the app
If the app is not launched, there is no reasons that it could take more space ; so, no need to run the garbage collector
Running the garbage collector only when the app is launched could be enough
Maybe we could run a task in background when launching the app (e.g. nix-collect-garbage -d & in something like /etc/bashrc)
If it takes too much resources, maybe we could conditionally run it only if not ran since a period of time and put the current date in a file when running it (i don't know where this file should be)
For convenience, we could add this with options (copied from NixOS)
{nix.gc.automatic=true;nix.gc.dates="weekly";# compare the current date with the within the file}
Please add Periodic
nix-collect-garbage
option likenix.gc
in NixOSNot fun when storage is needed for emergency but 'nix-collect-garbage -d` takes time to complete.
The text was updated successfully, but these errors were encountered: