You are not logged in.

#1 Yesterday 19:47:43

itsamephauxy
Member
Registered: 2026-09-30
Posts: 3
Website

Migrating arch config on a new machine - dotfiles

Hi there, I've been using archlinux on my old laptop for a while. I wish to also install it on my other laptop. I've read a bit of Migrate installation to new hardware and I've currently configured my dotfiles with a remote github repo. I have a very simple question: What should and shouldn't go in dotfiles? Should I just dump everything from ~/.config and other dotfiles I have on root? When I setup my new system do I need to maintain the config hierarchy as my current system or do I staged configs explicitely and copy them manually on the new system?

Edit: Question about submodules, when I try to add config for nvim to dotfiles I'm prompted that contents of child github repo(nvim-dap) won't persist on being cloned, so should I add them as a submodule or is it fine without it assuming lazyvim would autoinstall it?

Last edited by itsamephauxy (Yesterday 19:55:48)

Offline

#2 Yesterday 22:40:53

dimich
Member
From: Kharkiv, Ukraine
Registered: 2009-11-03
Posts: 854

Re: Migrating arch config on a new machine - dotfiles

itsamephauxy wrote:

I have a very simple question: What should and shouldn't go in dotfiles?

The question is simple but the answer is not. For example, if config contains any machine-specific path, it won't "work" as expected on other machine where that path is absent. So it depends™ on what each application store in its config and how it handles errors while processing config.

Offline

#3 Today 13:25:59

itsamephauxy
Member
Registered: 2026-09-30
Posts: 3
Website

Re: Migrating arch config on a new machine - dotfiles

dimich wrote:
itsamephauxy wrote:

I have a very simple question: What should and shouldn't go in dotfiles?

The question is simple but the answer is not. For example, if config contains any machine-specific path, it won't "work" as expected on other machine where that path is absent. So it depends™ on what each application store in its config and how it handles errors while processing config.

I believe absolute path reference errors would be unavoidable, I think its better I upload all of my configs and migrate and see how it goes.

Offline

Board footer

Powered by FluxBB