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

  • jerieljan@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 hours ago

    I use Syncthing with a folder called “Configuration Files” where I drop all my sync-able configs and dotfiles and I simply symlink them as needed.

  • desentizised@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    9 hours ago

    I don’t necessarily sync my dotfiles across machines, at least not in a blanket fashion. But I use Seafile to keep all sorts of directories in sync across machines. It’s basically a self-hostable Dropbox.

  • mko@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    15
    ·
    13 hours ago

    GNU Stow, backed up to a git repo.

    For those who might not see the purpose, it’s for keeping your profiles on different machines in sync, especially if you use the terminal a lot.

  • hexagonwin@lemmy.sdf.org
    link
    fedilink
    arrow-up
    42
    ·
    22 hours ago

    I don’t… when setting up a new system I just copy what I need from any random machine I have logged into at the time. As I need different config for different systems it doesn’t really make sense to have one perfect config on all either…

    • flatbield@beehaw.org
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      21 hours ago

      Besides. What is there to really mange. There are only a few that one are likely to change. Every thing else is in /etc. Besides all of thia is in whole system backups and snapshots anyway.

  • LiveLM@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    14 hours ago

    I use YADM which is a thin wrapper around a bare git repo but still has some creature comforts like per-machine configs and templating.
    Since you still need to interact with Git, I pair it with Lazygit. Love that software, I do everything Git with it now!
    Unfortunately it is a little jank due to the way Lazygit handles bare repos, thankfully there’s a command that sets up the needed Git variables for it to work correctly: yadm enter lazygit

    I send the repo to my own Forgejo instance. Kinda overkill but I was already self-hosting other services so I thought “Fully private Git server just for me? Why not?”

    Now, this is only for managing user level files. For managing system level configs I haven’t setup anything yet.
    YADM has a solution for this but it seems a little jank, maybe I’ll learn Ansible instead, dunno.

    • dizzy@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      13 hours ago

      For me it’s more about keeping multiple systems in sync and working as intended. E.g. I have my laptop, a home server with couple different distros and a few cloud VMs. Whenever I change a keybind in neovim or tmux or whatever, I just save the changes in a slightly different way and now every machine has those changes so I don’t need to update each machine manually.

  • Ooops@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    15 hours ago

    I do manage them via git. But I only do it so have settings (and their changes) synchonised between 2 PCs and a laptop.

    With just one main device I don’t even see a reason to “manage” anything… a basic backup strategy completely independent of just dotfiles aside.

  • Hundun@beehaw.org
    link
    fedilink
    arrow-up
    14
    ·
    23 hours ago

    I used to have everything in a git repo, but nowadays I use Nix with Home Manager, and I don’t want to look back.

  • Nick@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    19 hours ago

    I just wrote a bash script copies the relevant files or directories I want to back up from either ~ or ~/.config and places them in a local git directory which I then push to a private repo on Codeberg. Super janky and manual but I update dotfiles so seldom that it works for what I need.

  • Grntrenchman@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    17 hours ago

    Nothing at all. If things go south on the install I’ll have a clean slate. Really the only thing I have backed up are keys, everything else is nonessential.