4
Partition setup (lemmy.zip)

when setting up my new laptop i am intending to break /home and /nix into their own partitions. The NVME is 512GB so i am thinking

/ = 20GB

/nix = 50GB

swap = 16GB (2x RAM)

/home = all remaining

Thoughts?

you are viewing a single comment's thread
view the rest of the comments
[-] Object@sh.itjust.works 1 points 2 weeks ago* (last edited 2 weeks ago)

I just checked my main PC which I use for playing games and development (Android and Rust), and it uses 45GB for /nix just after nh clean all which deletes all profiles but the current one. 50GB might be a bit tight during a rebuild where you inevitably have two copies of the software, but outside of that, it seems good enough.

[-] shortwavesurfer@lemmy.zip 2 points 2 weeks ago

Right, will bump my /nix partition to 100GB then just to have good room for growth.

[-] shortwavesurfer@lemmy.zip 2 points 2 weeks ago

You know, if i can setup btrfs from the graphical install that might be the better way to go. I could then make different sub-volumes for @home @nix , etc. If I really want the quotas that can be enforced on the sub volumes.

[-] boatswain@infosec.pub 1 points 2 weeks ago

You could just use disko and define all those btrfs subvolumes and the rest of your partitions in a config.

this post was submitted on 05 Nov 2026
4 points (100.0% liked)

Nix / NixOS

2945 readers
1 users here now

Main links

Videos

founded 3 years ago
MODERATORS