Skip Navigation

Distro hoppers, how do you manage your config files?

I am currently trying to keep track of my config files in a repo to be able to get the configa back together easily if/when I change distro, but I am not sure if that's the best way or if I should be using some tool to help me since I some programs keep preferences in other directories other then $HOME (at least I think so). Can you guys share with me your must used/trusted simple process for this?

Thank you and specially thanks to everyone who is being helpful in this community for the past few weeks, I've learned much and got some very useful tips from the comments in my posts and in other people posts too.

38 comments
  • separate nvmes for the root-fs and for my users home folder.

    configure /etc/fstab to point nvme to /home/username.

    Done! I can wipe and hop as much as I like, and everything's just there.

    Tbh, i only hopped once, from Arch to Fedora and it was painless.

  • Ansible... Ansible... ansible...

    Write a ansible playbook that contain any of the config...

    Or Timeshift everything... and restore on new distro

    • It never even occurred to me that you can restore a timeshift on a different distro. I feel so stupid lol

  • i wasn't able to. Just lut them up on github. but now i have nix so i can just set up flake and git clone. Got my configs.

  • I used to have a git repo on Github for my dotfiles but I took it down when I realized that there are some config files I don't want public like my newsboat links or API keys on my ~/.bashrc. Now I just sync it encrypted to some file storage but I may put it on my private git server instead where password-store lives.

  • I don't stow or anything difficult anymore, it complicates things.

    I just save everything in my gitlab account and then I manually create the links.

  • I copy everything in my home folder and paste it all in the new installation. Works well if I stick with the same desktop environment.

  • Via a script that "automatically" copies (and installs) everything I need to its respective folder.

  • I just don't wipe out /home when I reinstall. Same /home partition, different distro on /

38 comments