For once I feel a little out of touch after I took a bit of a break from following the news to focus on studying, and suddenly everyone is talking about immutable distributions. What are they exactly? What are the benefits and the disadvantages of immutable systems?

  • Lurkki@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    By having the right configuration file there as part of the package’s options, like:

    globalProgram.doFoo = true; or something like

    globalProgram.extraConfig = "barCount=4567";

    • bionicjoey
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Are those changes system-wide or stored in user space? Where are those files stored?

      • Lurkki@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        It’s system-wide (unless home-manager is involved).

        They’re a part of the immutable install, whose components reside in /nix/store and are symlinked to /etc.

        Example from my computer:

        $ realpath /etc/sddm.conf 
        /nix/store/slkq2k8vc4rx4ag55zf8ssl7qd9ry49v-sddm.conf