Skip to content

MohAnghabo/dotfiles.nix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles.nix

Cross-platform Linux and macOS development environments for the TheAltF4Stream.

Test flake

Goals

Maintain declarative configurations for environments that are reproducible on each operating system.

Preview

Why move from Ansible?

I started out using Ansible to automate and maintain my development environment (see more here). This was a solid solution and is my recommended way of getting started with development environment automation if you "don't" have any interest in jumping the boat to Nix yet.

I switched because I began to deal with issues from imperative (step-by-step) automation. Things like making sure one step works so another can, having proper dependencies at the right time and other challenges that required more automation steps.

I wanted declarative configurations that defined my development environments.

Why NixOS?

I chose NixOS because of its unique approach to system configuration and package management. NixOS uses the Nix package manager, which provides reproducible, declarative, and reliable environments. This means that my development environment is consistent and predictable, eliminating the "works on my machine" problem.

NixOS's atomic upgrades and rollbacks ensure that system updates are safer and easier to manage. The ability to describe the entire system configuration in a single declarative file simplifies maintenance and enhances portability across different machines.

Why macOS + nix-darwin?

Using macOS with nix-darwin offers the best of both worlds:

  • the robustness and familiarity of macOS
  • the power of Nix package management

Nix-darwin allows me to manage macOS configuration in a declarative manner, similar to how NixOS operates. This way, I can leverage the Nix ecosystem to manage software packages and system configurations while still enjoying the benefits of macOS, such as hardware support, user-friendly interface, and wide range of software.

It's an ideal setup for a cross-platform development environment that requires both stability and flexibility.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 91.9%
  • Just 8.1%