• kautau@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    10 hours ago

    I’m unsure if this is satire, but you don’t rebuild a NixOS system every time you boot or SSH into it or something. It’s sort of like the Arch “assemble your own vehicle how you want” image except it allows you to do so on new hardware declaratively. Like having dotfiles for the entire operating system configuration that are processed by the OS itself. Also really nice for unattended remote installation with https://github.com/nix-community/nixos-anywhere

    • AItoothbrush@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 minutes ago

      I meam on boot it does do quite a lot of stuff and there are people who run nixos setups that basically erase everything and then relink the nix store to your root when you boot. Even tho i like nixos thats a bit too far for me. I use nixos like its an immutable distro where i build the image.

    • BastingChemina@slrpnk.net
      link
      fedilink
      arrow-up
      2
      ·
      5 hours ago

      I love nixos, it’s been my daily driver for the last 3 years for work and home.

      A more accurate metaphor would be:

      • When modding the car, with a arch, Debian of most other distros you actually mod the car. If you want to change the seats you physically install new seats.
      • With nixos you don’t intervene directly on the car, you change the blueprint of the car and let the robot reassemble the car according to the blueprint.
      • kautau@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 hours ago

        Yeah that’s true, it’s more like changing the car builds a new car every time in case you want to go back to an old one (or eventually prune/gc and say good bye to the old cars lol)

        • Lifter@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          41 minutes ago

          More like the car changes parts around the user space. You still have the driver and baggage (files) intact inside the car.

          Alternatively, you build a new car and teleport all of the inside of the car there, teleport the car to wherever the old one was and keep going from there.