Replies: 2 comments
-
I think it would be roughly similar to using a dotfiles manager which maintains a copy of the dotfiles under its management, so I think it wouldn't be all that unusual. The approach I personally use for the home directory is to just keep it in git, directly. There is a |
Beta Was this translation helpful? Give feedback.
-
i gave this some more thought. i think the main goal is to have system configuration and home/dotfile configuration in the same repository, but not necessarily using the same tool: For system, aconfmgr makes sense because it "distills" state into a concise representation (e.g. not just tracking all files, but tracking installed packages and only tracking files and other changes "on top of" the installed package set). The tradeoff is that the real state and the representation live in 2 different places, and are out of sync until you call aconfmgr save or apply) For $HOME, aconfmgr's distillation process would be pointless, and avoiding aconfmgr to keep the "real state" and the representation in the same place (your actual home dir) is convenient. So i think my conclusion is quite simple:
This feels like the right solution. it seems so obvious in hindsight. |
Beta Was this translation helpful? Give feedback.
-
aconfmgr excludes /home by default under the assumption most people already have a different solution to manage their dotfiles. (see #47)
I realize that often system wide changes go hand in hand with a user's dotfile changes (e.g. usage of certain vim plugins will probably correspond to system wide package installation, or setting up brightness controls in a window manager typically also comes with packages installed or udev rules deployed, and so on). The ability to track those together seems quite useful.
I am currently not using a dotfile manager and am looking at solutions. Using aconfmgr itself actually does not seem like such a bad idea. As long as i can keep the general /home exclude but add selective overrides to that exclude to include some common dotfiles, that should probably work, although i haven't tried yet.
Thoughts anyone?
cheers and happy holidays :)
Beta Was this translation helpful? Give feedback.
All reactions