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 thread.
View all comments View context
2 points

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

permalink
report
parent
reply