--- # Generic installation, multiuser # Needs systemd, no SELinux and sudo - name: Download nix installation script ansible.builtin.get_url: url: https://nixos.org/nix/install dest: /tmp/nixinstall mode: "0755" - name: Running installer ansible.builtin.shell: /tmp/nixinstall --daemon become: true - name: Removing install script ansible.builtin.file: path: /tmp/nixinstall state: absent