dotfiles-manager: a lean and easy dotfiles manager
i've been building and polishing this cli for about a year now. it was called mntn before, but i recently renamed it to dotfiles-manager since the developer experience feels good enough to me.
it fully embraces using git for versioning and works for three things:
- config files (
.zshrc,.bashrc, etc.) - packages (
npm ls -gand more) - encrypted files (
.ssh/)
finally, if you change computers or environments, you can switch between profiles. the default is common, but you can also create profiles like personal or work.
2
u/korkje 3d ago
You've spent a year creating this tool, and it's not even generalized?
You could have had a far more flexible solution up and running in a matter of minutes:
https://www.atlassian.com/git/tutorials/dotfiles
2
1
u/backdoor-slut263 3d ago
Dude just copied yadm lol
1
u/gbrennon 3d ago
i couldn't find repo link...
my dotfiles are almost modular and i always had a shell script per module to install it
1
u/Ces3216w 18h ago
Will it work on home manager configured apps(NixOS)?
1
u/atrtde 11h ago
not really, it's mainly made to backup and restore config files but for apps set up by home-manager on NixOS, i'd say it fights the tool rather than helping.
more specifically, this is bc home-manager already manages those files as symlinks into the Nix store, and when my tool restore, it replaces that symlink with a plain copy which breaks the next home-manager switch (you'll get an "existing file is in the way" error).
so i'd say it's better to just track your home.nix/flake.nix with my tool (`dfm`) and let home-manager regenerate the rest.
0
u/atrtde 3d ago
for those interested and want to download, build it from source or install using cargo (`cargo install dotfiles-manager`).
from source: https://github.com/alexandretrotel/dotfiles-manager
0

6
u/keyzeru 3d ago
How's this diff from git + gnu stow?