• tatterdemalion@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    5 months ago

    NixOS. My entire config is source-controlled and I can easily roll back to a previous boot image if something breaks like cough Nvidia drivers. I also use it for my home router and all self-hosted services.

    • smiletolerantly
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      5 months ago

      maniacally laughs while trying to avoid eye contact with 19k lines of nix config

      • dwt@feddit.org
        link
        fedilink
        Deutsch
        arrow-up
        4
        ·
        5 months ago

        Out of all the ways that I have tried in the past, to reproduce not just the initial state, but also the ongoing changes of a disto (ansible, saltstack, chef, bunch of Shell scripts) — nix is by far the shortest. With all of these technologies I would never have dreamed to do this for a single Maschine. But now it’s not only possible, but actually gasp enjoyable!

        Mind you, if that is not the problem you want to solve, maybe install just the nix package manager in addition to your distribution, and learn to enjoy it without having to run your whole distribution this way.

        • smiletolerantly
          link
          fedilink
          arrow-up
          4
          ·
          5 months ago

          You misunderstand! It has also turned into basically a hobby (and recently, a job, lol) to manage nix configs.

          Those 19k lines are clean, well-structured and DRY, and do describe every little thing about ca. 30 machines.