• Vincent@feddit.nl
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Copy one file over and it’s set up for you.

    So, I’ve only played around with NixOS on a Raspberry Pi, but… Don’t people usually split their config up in multiple files, and then store than in a Git repository?

    The process then still is: check out that Git repository, except there’s another step: copy over your private key so that you can decrypt your secrets.

    Is that correct? Or did I make things needlessly complex for myself?

    • dblsaiko@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      I don’t have any secrets in my config or a private key or anything and I’m currently running 4 servers from the same config (it used to be 8 or even more machines at some point even, including desktops).

      But yes, it’s a multi-file config, it would be absolutely crazy to not split it up with how large it is.