nix
Nix kavb333 10 months ago 100%
What is the ~/.cache/.keep file, and how do I move it?

I'm currently trying to get comfortable on NixOS on my laptop before switching over to it from Arch on my desktop, and I've noticed that there's a .keep file in the \~/.cache directory. I normally wouldn't care about it, except that my XDG\_CACHE\_HOME isn't \~/.cache, but rather set to $XDG\_STATE\_HOME/cache which is \~/.var/cache (to mirror how cache is in /var/cache). So what even is the .keep file, and how do I make it go to my XDG\_CACHE\_HOME to stop it from cluttering up my home directory?

1
1