IaaC guide with NixOS on EC2

I&#x27;ve been refining the way I do IaaC and immutable infrastructure for years. Before I switched to NixOS, I had enormous Ansible playbooks that configured everything imperatively. My playbooks are much simpler now, with most of the configuration declaratively specified in configuration.nix . Here are the main tools in my current workflow: Packer (for building AMI images) Ansible (for handling…