I would like to have a mechanism to set up a server automagically…

Similarly I would like to set up my user account settings (Tmux plugins, .zshrc and vim settings, etc) that I can replicate in multiple machines via a script (I have a custom script for this but I want a more solid alternative)

Thoughts on what infra-as-code solution would work best? Any similar experiences or use cases with one Thanks!
Cc @selfhost@lemmy.ml @selfhosted@lemmy.world

  • Atemu
    link
    fedilink
    arrow-up
    18
    arrow-down
    2
    ·
    6 months ago

    I would like to have a mechanism to set up a server automagically…

    NixOS.

    Similarly I would like to set up my user account settings

    Home-manager.

    • zwerdlds
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      Indeed. This is what I use, and it effectively supplants the need to have an local vm manager.

      Then you can add remote builds, nas connections, and you basically have a “server less” app server. In the past when there is a hardware failure on the workhorse, getting back up is a script invokation and a reboot away - data is persisted on a nas.