• elscallr@lemmy.world
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    1 year ago

    Take the next step, and write a simple ansible playbook to configure your installed applications and services. It looks a little complicated at first but it’s pretty easy.

    Then you just keep your playbook with your other files. When you decide to reinstall, you just install ansible then run it on your playbook. It’ll install and set up everything you add to your OS.

    • brian
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      NixOS really is the next step from an ansible setup like yours imo. It can and usually is a fully declarative and immutable system outside of your nix config and whatever personal files you have.

      • elscallr@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Yeah, I get that. I’m not about to trust NixOS for my production machines at work and since I already know Ansible it’s just as easy for me to manage my home machines the same way.

        • dukk
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Of course it’s all personal preference, but I’ve been managing my dot files from the very beginning with nix(home manager). Never tried ansible, but, just like you, don’t really need to, as everything is already set up well in Nix(including all my configs for all my programs).

    • BartsBigBugBag@lemmy.tf
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I only know the Ansible as the intergalactic communication system from Ursula K Le Guins novels, so this comment is too cool to me.

      • PraiseTheSoup@lemm.ee
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        That’s almost certainly where it came from. This might be hard to believe, but Linux devs are often huge nerds.

        • BartsBigBugBag@lemmy.tf
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Oh I’m sure, that word isn’t used for a lot of other things. It’s neat how much anarchist and socialist lore is hidden inside of FOOS and Linux tech terminology, including the word Ansible. So refreshing compared to closed source devs unironically naming their products after murderous AI or what have you.

        • BartsBigBugBag@lemmy.tf
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Ansible was indeed used by Orson Scott Card in his Ender’s series, about 20 or so years after it was first coined by Le Guin. Funny to think of someone reading such good novels as Ursula’s and still coming out of it a bigoted asshole.