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

  • hexagonwin@lemmy.sdf.org
    link
    fedilink
    arrow-up
    25
    ·
    1 month 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…

    • torgeir@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      1 month ago

      I also share this brand of illness.

      As I was reluctant going all in, having kept them in git since 2012, I still keep a few of them in their own separate repository. I load them as a nix flake input, and put the files in the expected place using nixos. Works OK, but adds a bit of a roundtrip if you are experimenting with changes often.

      This also allows me to share some of them to my work machine, which uses nix, and other files on other systems that dont.

      That said, I consider myself all in nix quite some time ago, and have moved more and more of the config over to the nix repo using the nix language for config instead of the input flake config file approach. Iterating on it is much faster this way.

  • Hundun@beehaw.org
    link
    fedilink
    arrow-up
    11
    ·
    1 month 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.

  • starshipwinepineapple@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    1 month ago

    I use a bare git repo. After the initial set-up its just the basic git commands but invoked with a gitdf alias. I wrote a (non-monetized) blog post here about it.

    If still needing a tui you could write a simple helper script to call the commands.

  • jerieljan@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month 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.

  • Nick@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month 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.

  • desentizised@lemmy.zip
    link
    fedilink
    arrow-up
    2
    ·
    1 month 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.

  • LiveLM@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 month 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 yet.