sudo’s Hall of pain

  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Imagine accidentally running it on / instead …

    But wasn’t NixOS not specifically design to be protected against such issues?

    • wellDuuh@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 months ago

      😂 heck no! (Just found out)

      Nix provides a platform where you define how the system should be by specifying what version of apps to install, and configurations to inherit.

      It does not back up any configuration and files that are outside the defined configuration file! And Turns out there are plenty of them.

      What, You changed into dark theme on your android studio? Stored on home dir .local, not on nix configuration file

      Every app that I customized it whilst inside the app, the changes are thrown on .local.

      Again… TIMESHIFT would have saved me sooo much time.

      This is me Sangry now

      Edit: I hope this post saves someone a world of pain in the future