🌘 從 GNU stow 遷移至 chezmoi:更強大的設定檔管理方案
➤ 告別符號連結的混亂,打造可預測的自動化配置環境
https://rednafi.com/misc/chezmoi/
本文記錄了作者如何從傳統的 GNU stow 轉向使用 chezmoi 來管理跨裝置的 dotfiles。作者指出,stow 依賴符號連結(symlink)的方式在多臺 Mac 上管理設定時,常會導致檔案衝突與環境髒亂。相較之下,chezmoi 透過將設定檔納入專屬的 git 倉庫,並利用模版(template)與專屬腳本(scripts)來確保每臺機器擁有獨立且正確的環境設定,徹底解決了手動同步的繁瑣。這套流程不僅能自動安裝套件,還能確保跨平臺的環境一致性。
+ 之前也深受 stow 符號連結導致的髒亂所苦,chezmoi 的實作邏輯看起來穩健多了,特別是 `run_onchange` 的機制非常實用。
+ 作者對 gitconfig 使用 `includeIf` 的做法很聰明,這解決了不同專案身份隔離的難題,值得學習
#技術開發 #Dotfiles #macOS #自動化 #工具介紹
Migrating from GNU stow to chezmoi

Why I swapped GNU stow's symlink farm for chezmoi: one command to bootstrap a Mac with Homebrew packages and macOS settings, a small daily sync loop, and agent skills shared between Claude Code and Codex.

Redowan's Reflections
🙄 Ah yes, the earth-shattering #saga of swapping one #geeky tool for another: from "Stow" to "chezmoi." 🚀 Because managing #dotfiles is obviously the pinnacle of #human #achievement and the most riveting tale of our time. 😏
https://rednafi.com/misc/chezmoi/ #Stow #chezmoi #tools #tech #HackerNews #ngated
Migrating from GNU stow to chezmoi

Why I swapped GNU stow's symlink farm for chezmoi: one command to bootstrap a Mac with Homebrew packages and macOS settings, a small daily sync loop, and agent skills shared between Claude Code and Codex.

Redowan's Reflections
Migrating from GNU stow to chezmoi

Why I swapped GNU stow's symlink farm for chezmoi: one command to bootstrap a Mac with Homebrew packages and macOS settings, a small daily sync loop, and agent skills shared between Claude Code and Codex.

Redowan's Reflections

I use Vim BTW

I've been a Vim user for quite some time now and I love it. But I got tired of my own highly customized configuration breaking whenever a plugin or Neovim updated. I switched to a managed configuration and haven't looked back. Just because I can do things, doesn't mean I should.

https://www.closingtags.com/blog/astronvim

#linux #vim #nvim #dotfiles

I use Vim BTW

I've been a Vim user for quite some time now and I love it. But I got tired of my own highly customized configuration breaking whenever a plugin or Neovim updated. I switched to a managed configuration and haven't looked back. Just because I can do things, doesn't mean I should.

Peoples of #neovim #nvim can you send me your #dotfiles

Much appreciated :3

ignore the massive bag i brought to steal some of the code and ideas

Started to use Zoxide and replaced it with CD on my dotfiles. Liking it so far.

https://github.com/ajeetdsouza/zoxide

#zoxide #cd #dotfiles

Всё, что вы настроили в Linux, можно было не настраивать

Я использую Linux 15 лет. Ну, то есть как использую: первые года три я его настраивал, а не использовал. Это разные вещи, и мне понадобилось позорно много времени чтобы это понять. Сейчас у меня Fedora. Из коробки. С GNOME. Почти без кастомизации. Я набираю в ней код, сижу в браузере, иногда монтирую видео для внутренних демок. Всё работает. Пятнадцать лет назад я бы от такого описания плевался. Как это «из коробки»? А где i3? Где polybar? Где 400 строк .vimrc? Где кастомный скрипт на баше который при подключении второго монитора переключает раскладку DPI и температуру цвета? Ну вот, нету. И ничего не сломалось.

https://habr.com/ru/articles/1044236/

#linux #gnome #i3wm #dotfiles #fedora #продуктивность #прокрастинация #оконный_менеджер #тайлинг #окружение_рабочего_стола

Всё, что вы настроили в Linux, можно было не настраивать

Я использую Linux 15 лет. Ну, то есть как использую: первые года три я его настраивал, а не использовал. Это разные вещи, и мне понадобилось позорно много времени чтобы это понять. Сейчас у меня...

Хабр

Всё, что вы настроили в Linux, можно было не настраивать

Я использую Linux 15 лет. Ну, то есть как использую: первые года три я его настраивал, а не использовал. Это разные вещи, и мне понадобилось позорно много времени чтобы это понять. Сейчас у меня Fedora. Из коробки. С GNOME. Почти без кастомизации. Я набираю в ней код, сижу в браузере, иногда монтирую видео для внутренних демок. Всё работает. Пятнадцать лет назад я бы от такого описания плевался. Как это «из коробки»? А где i3? Где polybar? Где 400 строк .vimrc? Где кастомный скрипт на баше который при подключении второго монитора переключает раскладку DPI и температуру цвета? Ну вот, нету. И ничего не сломалось.

https://habr.com/ru/articles/1044236/

#linux #gnome #i3wm #dotfiles #fedora #продуктивность #прокрастинация #оконный_менеджер #тайлинг #окружение_рабочего_стола

Всё, что вы настроили в Linux, можно было не настраивать

Я использую Linux 15 лет. Ну, то есть как использую: первые года три я его настраивал, а не использовал. Это разные вещи, и мне понадобилось позорно много времени чтобы это понять. Сейчас у меня...

Хабр

after what... 8 months of nixos? i think am finally confident enough in my system flake to actually share it

https://codeberg.org/nyx_lyb3ra/system

the breakdown:

  • disko for partition layout management
  • quasi-ephemeral root (keeping backups for the last 7 days)
  • agenix for secrets (literally just my user password rn x3)
  • flake-parts to modularize outputs with a bit of magic
  • niri + dank material shell for the gui

it's architected to scale. rn it handles my desktop and laptop, but the plan is to integrate the home server i manage with my brother soon

#nixos #niri #linux #dotfiles

system

system

Codeberg.org

Critically examining my #dotfiles for the first time in more than a decade.

There's so much stuff there that doesn't matter, arguably never mattered in the first place.

Thinking about just starting fresh* and seeing where that takes me.

*barring obvious things like git config