root → / home → /home opt → /opt cache → /var/cache gdm → /var/lib/gdm libvirt → /var/lib/libvirt log → /var/log spool → /var/spool tmp → /var/tmp snapshots → /snapshots

I want to have similar kind of results for my next install of NixOS.

  • Trailblazing Braille Taser@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    I don’t know much about btrfs, but couldn’t you just keep the same mountpoints?

    I followed these instructions to do a “lustrate” install on top of my old Debian install. At the end, I reallly scrutinized the autogenerated hardware-configuration.nix, decided it was close enough to my old /etc/fstab, and bit the bullet with sudo reboot. It worked except for a small hiccup that I can’t even remember the details of now.

    https://nixos.org/manual/nixos/stable/#sec-installing-from-other-distro

  • Laser@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    I don’t see any issues with these subvolumes for NixOS (though I haven’t used NixOS on btrfs, just assuming it works) – Create the partition and its subvolumes manually and then perform the steps at https://wiki.nixos.org/wiki/Btrfs. It shouldn’t be an issue