Hey guys! Is there a way for me to force apps to treat e.g. $HOME/.config/ as their default directory to look for settings? I want to clear up my home directory because its getting quite messy and I don’t even have that many packages installed yet.

Also, any way that would be easy and efficient for use with git for the purpose of backing up my dotfiles.

Thanks!

  • sqraw@lemmy.ca
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Might be worth looking into immutable distros (nix, guix) and their home management systems, or containerised apps (flatpak, where you can inject config). A lot of tools are hardcoded to non standard locations so it’s kind of a losing battle by default. A similar strategy would be to use permissions or mount certain folders as read only.

    • Klaymore@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Yeah, Nix(OS) with Home-Manager is great for managing dotfiles. Impermanence is also nice but a bit more complicated.

    • Sharmat@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      Adding VanillaOS as well, saw it a few days ago and it seems like a pretty decent immutable distro too.