• elscallr@lemmy.world
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    2 years 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@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      2 years 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
        3
        ·
        2 years 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@programming.dev
          link
          fedilink
          arrow-up
          2
          ·
          2 years 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).