• @Kissaki@programming.dev
    link
    fedilink
    English
    222 hours ago

    [Nix] allows users to reliably reproduce the same state coming from any other state, which is also used for safe rollbacks.

    What does that mean for configuration? How does configuration and customization play into Nix declarations?

    I’m thinking of what would usually be in /etc/, and what classic package managers like apt/dpkg would deliver a default of but not replace if already existing. Where you make your specific program and service configuration that is independent of the theoretically immutable package program data.

    • @thedeadwalking4242@lemmy.world
      link
      fedilink
      3
      edit-2
      21 hours ago

      Nix does a bunch of fancy linking. The idea is that you will create your configurations from inside the nix language. Which will then be installed and setup according to the standard nix process. You can also install packages then build the configuration files as your normally would. Things like /etc directories are generated but not touched after that. I’m no expert though so I could be wrong.

      However after distro hopping for like 4 years I landed on nix hand haven’t looked at anything else in 2 years. Truly the future