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.
RickyRigatoni ( @RickyRigatoni@lemmy.ml ) 23•1 year agoI manage them by not. My configs are gone when I wipe my drive and I simply recreate them from memory. Things get forgotten, new things get changed. Holding on to the past too tightly will make you unable to leave it.
PenguinCoder ( @Penguincoder@beehaw.org ) 17•1 year agoPersonal git repo with my dotfiles and other aliases/bashrc items.
vredez ( @vredez@discuss.tchncs.de ) 8•1 year agoI use gnu stow (with --no-folding) and track my stow directory in a Git repo. This allows you to easily swap out distro specific differences, like the location of git_prompt.sh or aliases that map to different package managers. Also, you can switch between different window managers or desktop environments with a simple unstow and stow of .xinitrc files.
mim ( @mim@lemmy.sdf.org ) 16•1 year agoI manage them using git and stow.
Stow is very useful, but a bit unknown. Hard to explain in a Lemmy post, but basically it helps you manage symlinks between your git repo directory and your $HOME.
You can “install” and “uninstall” configs by managing the symlinks with stow.
penis ( @penis@beehaw.org ) 6•1 year ago+1 for stow, it’s so simple yet powerful.
Skriptmonkey ( @Skriptmonkey@lemmy.ml ) 9•1 year agoI’m not as fancy as using git. I have a folder with all my config files, and it’s not a lot, in Nextcloud. When I’m on a new install, I sync my Nextcloud account then create symlinks to the files in the folder. So far no issues. I just keep track of where each simlink needs to go.
adonis ( @adonis@kbin.social ) 6•1 year agoseparate 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.
nothendev ( @nothendev@sopuli.xyz ) 5•1 year agoHome manager fan here. Every install I tweak something if I feel like it.
garam ( @garam@lemmy.my.id ) English4•1 year agoAnsible… Ansible… ansible…
Write a ansible playbook that contain any of the config…
Or Timeshift everything… and restore on new distro
Maxxy ( @fujiwara@lemmy.zip ) English2•1 year agoIt never even occurred to me that you can restore a timeshift on a different distro. I feel so stupid lol
garam ( @garam@lemmy.my.id ) English1•1 year agoYou can lah… If not it’s useless. Haha… 😂
Maxxy ( @fujiwara@lemmy.zip ) English2•1 year agoLah?
garam ( @garam@lemmy.my.id ) English3•1 year agoLah is like a added text, in end of cov. Like bro, man, etc… It’s mostly used in East and South east Asia.
Pardon, I type it unconsciously 😂
Maxxy ( @fujiwara@lemmy.zip ) English1•1 year agoOh no worries! I’ve just never heard it before lol
thelastknowngod ( @thelastknowngod@lemm.ee ) 3•1 year agoResilio Sync and symlinks. The symlinks aren’t great but I never remember to update git… Resilio is wonderful.
som ( @awwsom@beehaw.org ) 3•1 year agoi 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.
Nuuskis9 ( @Nuuskis9@feddit.nl ) 3•1 year agoI use usb stick with Ventoy. I copy it into .config and add a line for aliassrc into .bashrc and I’m all set.
Syudagye ( @Syudagye@pawb.social ) 3•1 year agonot distro-hopping, but i use nix, which can be used on anydistro.
selawdivad ( @selawdivad@lemm.ee ) 3•1 year agoI have a git repository in
~/dotfiles
, and symbolic link the ones I want as I need them. I’ve only just started tracking my dotfiles and I’m not super disciplined with it yet, so I still have slightly different setups on each system. hitagi (ani.social) ( @hitagi@ani.social ) English2•1 year agoI 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.
lfromanini ( @lfromanini@feddit.nl ) 2•1 year agoI manage my config files with RCM, this way: https://fedoramagazine.org/managing-dotfiles-rcm/
But I use it for share my dotfiles between my home and my work computer. For distro hopping only, I have my /home mounted in a secondary HD, so it’s never formatted.
For the config files in other paths, I keep a log of everything I changed in Dropbox and then I redo. I admit that this may not be the best solution, but the others works good.
Retainer8510 ( @Retainer8510@beehaw.org ) 1•1 year agosounds awesome! will try this approach
tarneo ( @tarneo@lemmy.ml ) 1•1 year agoI’m not a distrohopper, but GNU stow is delightfully simple. See my dotfiles as an example.