Skip Navigation

three-ish line change for more storage on NixOS: Using Bees on btrfs has saved me a lot of storage space, can recommend

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:
 
      nix
  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)

Comments

3