Anybody have a solution for dotfiles outside /home - eviltoast

on gentoo for example I have accrued a few files under /etc/portage that to my knowledge just have to live there…

right now I basically rely on my backups for this. but maybe somebody knows a clever way to handle this?

  • JubilantJaguar@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    My script rewrites the paths to --etc--hosts and so on. Avoids creating a giant tree of mostly empty directories. Wish distros came with a default out-of-the-box solution for all this.

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

      right, for system files I do the minimal approach only select a handful that I wish to keep, so the tree is easy to search into. A system equivalent to $XDG_CONFIG_HOME would be nice though.