this post was submitted on 05 Aug 2024
9 points (100.0% liked)

Nix / NixOS

1848 readers
54 users here now

Main links

Videos

founded 2 years ago
MODERATORS
9
submitted 5 months ago* (last edited 5 months ago) by adept to c/nix
 

I want to change my hardware config from 2 btrfs partitions to 1 partition with subvolumes for root, /nix, /home, and maybe some other like /log.

I mainly want to optimize the /nix/store. And possibly being ready to integrate the impermanence module down the line

What would be the easiest way to accomplish this without reinstalling or breaking too much?

Alternativly I thought about using disko and nixos-install the overwrite my second disk

Thank you

you are viewing a single comment's thread
view the rest of the comments
[–] adept 2 points 5 months ago

Thanks for your response.

That's exactly what i had in mind. I just wasn't quite sure it would work out as i imagined.

Since i asked this question i have already prepared a second (empty) disk and a disko config to make it all declarative. Before i actually apply this config to my second disk i'm looking into creating a VM to test the disko-partitions