Skip to content

Nix & Flakes βš™οΈβ„οΈβœ¨

My entire system and user environment are declaratively managed with Nix β€” the ultimate package manager and build system that brings reproducibility, reliability, and insane flexibility. πŸ”₯πŸ› οΈπŸ’»


πŸ”₯ Why Nix? πŸš€

  • Declarative Configuration πŸ“œβœοΈ Everything is described in code β€” from system services πŸ–₯️ to user apps πŸ“¦ β€” so I can rebuild my entire setup effortlessly or roll back changes βͺ in seconds.

  • Reproducibility & Portability 🌍✈️ The exact same environment can be replicated on any Nix-enabled machine, making setups consistent and hassle-free. πŸ”„πŸ’‘

  • Powerful Package Management πŸ“¦πŸ’₯ Nix isolates dependencies, allowing multiple versions of the same app or library πŸ“š without conflicts β€” goodbye β€œdependency hell” πŸ”₯πŸ˜΅β€πŸ’«.


πŸ› οΈ Flake-Based Setup β„οΈπŸ”—

I use Nix flakes, the modern way to manage Nix projects, bringing:

  • Immutable, version-controlled configurations πŸ”’πŸ“
  • Easy integration with GitHub and other sources πŸŒπŸ™
  • Simplified sharing and updating of modules βš™οΈπŸ”„

My flake.nix ties everything together: system config, home-manager modules 🏑, dotfiles syncing πŸ”„, and even custom scripts πŸ€–.


βš™οΈ Home Manager Integration 🏑✨

Managing user-specific config (shell 🐚, editor ✍️, terminal πŸ–₯️, etc.) declaratively with Home Manager lets me keep:

  • Shell configs like Fish 🐠 and Zsh 🦦
  • Neovim setup and plugins 🎨🎯
  • Terminal and prompt settings πŸ–₯️⚑
  • Handy scripts and aliases πŸ§°πŸ“

πŸ“š What I Love About Nix πŸ’–

  • πŸ’ͺ Atomic upgrades & rollbacks β€” no more β€œit broke after update.” πŸ”§πŸ›‘οΈ
  • πŸ”„ Effortless multi-machine syncing with git + flakes πŸ–₯οΈπŸ’»πŸ“±
  • 🎯 Precise control over software versions and dependencies πŸ”πŸ“¦
  • πŸš€ Seamless integration with systemd, Wayland, and Wayland-native tools πŸŽ‰πŸ–ΌοΈ

TL;DR ⚑

Nix is the backbone 🦴 of my environment β€” powering a reproducible, flexible, and fully declarative setup that evolves with me. 🌱πŸ”₯