This role installs the Nix software on the given Ansible host and configures it for a given user. It also optionally sets up Nix Flakes.
Note that any logged-in users who want to use Nix must restart their shells after this role has been applied.
Ansible >= 2.10, and a target host running either a Debian-flavor of Linux or macOS. Other Linux flavors will probably work with this role, but they haven't been tested.
See the defaults/main.yml
file for full documentation on required
and optional role variables.
---
- name: Install Nix on hosts
hosts: "all"
roles:
- ableton.nix
MIT
This project is maintained by the following GitHub users: