• @0x4E4F
    link
    English
    216 months ago

    You can do that with any distro and BTRFS.

      • @0x4E4F
        link
        English
        46 months ago

        You can do the same with void-mklive. Boot, install, you have the same system that is on the live USB on your HDD/SSD.

      • @[email protected]
        link
        fedilink
        36 months ago

        BTRFS and ZFS filesystems offer lightweight snapshots. So you can save the state of the filesystem and restore it. It is often integrated with the package manager and a snapshot is involved before you make change.

        NixOS works differently. You have a configuration file, and each time you make change to it NixOS rebuilds itself to its specification from scratch (you might assume it would be a lengthy process, but because of caching only things that are rebuilt are things that you are changing).

        This means that things like for example squeezing from KDE to Gnome or X11 to Wayland aren’t scary to try and you can easily revert things back, your home directory won’t be touched.

        Also those things aren’t exclusive you can use BTRFS and ZFS on NixOS to and enjoy their benefits.

        • @0x4E4F
          link
          English
          26 months ago

          You can also exclude any directory you like from snapshots, including home, that’s not a problem.

          • @[email protected]
            link
            fedilink
            46 months ago

            Yeah, you can if you plan well enough (typically. What I’m trying to illustrate is that this works by taking a snapshot of the disk in time. It’s like keeping a working copy of your system on your disk to be able to revert to.

            While with NixOS you work with a “recipe” how your system is supposed to be configured. It is much lighter. It is declarative, you change the recipe and get what you described, you change configuration and all packages which you did not mention and are not used by anything are gone. If you update your system you can use the same configuration on it

            The thing is that using can still get BTRFS or ZFS and use it to have snapshots too (for example your home directory)

    • bruhduh
      link
      fedilink
      2
      edit-2
      6 months ago

      Nah man, 3 months ago i had fedora 38 btrfs, timeshift refused to work because subvolumes wasn’t done, but i installed everything in auto gui mode, i did them by the manual after installation, timeshift started working just fine, a week further update to fedora 39 came, i updated, everything broke because of subvolumes, i loaded fedora recovery mode from grub, tried to roll back with timeshift btrfs, it rolled back to 38 but everything was still broke, and more over, whole ssd with this installation became locked, had to recover data from completely locked up ssd, in the middle of the process it locked even further, so i couldn’t even copy some files when disk was connected as external

      • @0x4E4F
        link
        English
        36 months ago

        Have no idea what RH did that would do that during an update.

        I manually set up BTRFS every time, haven’t had any problems. But, I use Void, not Fedora.