this post was submitted on 27 May 2026
8 points (100.0% liked)

Nix / NixOS

2809 readers
1 users here now

Main links

Videos

founded 3 years ago
MODERATORS
 

From my own post: cross-posted from: https://lemmy.world/post/47418159


I've just set up bees on my laptop.

  • It's been running for 40 minutes now
  • I went from 28G to 58G free space on my 2 TB SSD
  • Without deleting anything

I'm genuinely amazed.
Idk why, but I thought this was more of a gimmick for some reason, but nah it works well.

Can highly recommend :3


See https://github.com/Zygo/bees for the project if you wanna learn more.

Here's all I did on my system (NixOS), see !nix@programming.dev

  1. I put this in my NixOS config:
services.beesd.filesystems.root = {
  spec = "UUID=dfabb360-7fde-4b06-a884-03c8d217d877";
  hashTableSizeMB = 8192;
};
  1. I ran this command
cd /etc/nixos && sudo nixos-rebuild switch |& nom
# tho just running sudo nixos-rebuild switch in the correct dir would be sufficient

And it just started giving me more space on my disk :3


PS: it's been 49 minutes now, and I'm at 72G free ๐ŸŽ‰
(the CPU has been maxed out the entire time, keep that in mind)

top 3 comments
sorted by: hot top controversial new old
[โ€“] Starfighter@discuss.tchncs.de 1 points 1 month ago (2 children)

A very interesting tool so thank you for posting this.

The docs are very impressive and very detailed which is nice.

How did you arrive at 8GB hash table size? I've trued understanding the example table in the docs but it doesn't make any sense to me.

[โ€“] vanillama@programming.dev 1 points 1 month ago

Did you scroll sideways in that table?

[โ€“] RustyNova@lemmy.world 1 points 1 month ago* (last edited 1 month ago)

Well TBF if you got the ram (and storage), may as well go big lol

I limit mine to 4gb because I got 2T to go through and I got 32 gb of ram sitting there