Half a Day, Not a Week: One Nix Flake for Three Machines
The article discusses the author's experience using Nix flakes to manage configurations across multiple machines. After a water damage incident with their MacBook, they were able to quickly restore their setup using a single command. The author highlights the benefits of a declarative approach to system configuration, allowing for consistent environments across devices.
- ▪The author lost data on their MacBook due to water damage and restored it using Nix flakes.
- ▪Nix flakes manage configurations for three machines, sharing a core set of over 70 packages.
- ▪The system allows for easy adjustments to configurations, enabling a consistent user experience across devices.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3949581) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Dominik Bullo Posted on May 24 • Originally published at bullo.sk Half a Day, Not a Week: One Nix Flake for Three Machines #automation #cli #productivity #tooling My personal MacBook had a disagreement with a little bit of water. Got drowned. Basically all data lost. When it came back from repair, I cloned the repo and ran one command: nix run .#build-switch.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).