Closed adrian-gierakowski closed 4 years ago
Nuking the whole thing should work but will require some rebuilds, if you don't mind waiting.
Thanks @puffnfresh
for anyone stumbling upon this in the future: looks like the nix-disk
file didn't really grow to this size, but it was like that since the start. After running:
rm -rf ~/.cache/nix-linuxkit-builder/
nix-linuxkit-configure
the file was recreated with exactly the tame size, so nuking it is only an option if you don't intend to use linuxkit-builder
anymore
however if you run out of space on the builder, then ssh nix-linuxkit nix-collect-garbage
should do the trick
I've been using linuxkit for a while and it has been working great, however I've noticed that the following file
/Users/myusername/.cache/nix-linuxkit-builder/nix-disk
has grown to over 80 GB. Runningnix-collect-garbage
doesn't reduce the size of this file. How could I reduces it's size? Should I just nuke the whole thing? Thanks!