22 lines
498 B
YAML
22 lines
498 B
YAML
|
---
|
||
|
# Installing and configuring nix.
|
||
|
|
||
|
- name: Installation
|
||
|
ansible.builtin.include_tasks: "install/{{ ansible_os_family | lower }}.yml"
|
||
|
when: ansible_os_family == 'Archlinux' or ansible_os_family == 'Debian'
|
||
|
args:
|
||
|
apply:
|
||
|
tags:
|
||
|
- nix
|
||
|
- nix-install
|
||
|
tags:
|
||
|
- nix
|
||
|
- nix-install
|
||
|
|
||
|
- name: Configuration
|
||
|
ansible.builtin.import_tasks: configuration.yml
|
||
|
when: ansible_os_family == 'Archlinux' or ansible_os_family == 'Debian'
|
||
|
tags:
|
||
|
- nix
|
||
|
- nix-config
|