• LastYearsIrritant@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    Kinda cool how the configs work, but it feels like you need to rely a little too much on having premade configs available for the things you want to do.

    • hangonasecond@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      Do you mean being dependent on people having “done it in nix before” so you can copy it? Definitely true to some extent. The language takes a bit of getting used to. Haven’t watched the video so idk context, but if using docker on nix there’s a great tool called compose2nix that converts compose files for docker or podman into declarative nix files. That took a lot of the challenge away for me personally.

    • ruffsl@programming.devOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      I’m not the original author, even with the YouTube title being as is, but what do you mean? Perhaps relying that the desired services exist as nix packages, or that nix packages have desired defaults or exposes desired config parameters?

      There are two other nix media server config projects I can think of, but I think this approach mostly facilitates the install, but not the entire initial config setup, given that a lot of the stack’s internal state is captured in databases rather than text config files. So simplifying the backup and restoration of such databases seems the next best thing to persist your stack configs with nix.