Hello, i would like to know how you manage your dotfiles.

Do you use some gui or tui?

There are many ways i don’t what to do.

Probably im going to do git repo with lazygit. I like tuis. I am managing files on two artix linux systems 1- pc and 2- laptop

  • med@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    3 days ago

    I’m using stow, and then git for versioning. The only question I’m currently facing is whether to keep my stow packages as individual got repos (so I can switch branches for radically different configs or new setups) or treat the whole lot as a big repo, and set the others up as subtrees.

    • zaubentrucker@sopuli.xyz
      link
      fedilink
      arrow-up
      7
      ·
      3 days ago

      IMO you shouldn’t use branches for switching between configs. It makes it hard to compose and reuse your configuration.

      Just imagine you have a new config file that you now want to add to all of your machines. You’d now have to commit/cherry-pick on all of your branches. Change that file? Now you have to distribute the changes again and might even get conflicts.

      Additionally, many programs allow you to change your configuration directory via environment variables (usually XDG_CONFIG_HOME , I think). So you can even keep all machine-specifig configuration files in a single repo under different prefixes for those.