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!

  • @[email protected]
    link
    fedilink
    81 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.

    • @[email protected]
      link
      fedilink
      71 year ago

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

    • @[email protected]
      link
      fedilink
      English
      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.