Skip to content

Commit

Permalink
fix(nix): added allow unfree to prevent failures during the package i…
Browse files Browse the repository at this point in the history
…nstallation
  • Loading branch information
AlexNabokikh committed Dec 14, 2023
1 parent d844db4 commit 1bfbcaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@
- name: Install Nix packages
become: true
become_user: "{{ username }}"
environment:
NIXPKGS_ALLOW_UNFREE: "1"
ansible.builtin.command:
cmd: "/home/{{ username }}/.nix-profile/bin/nix-env -iA nixpkgs.{{ item }}"
loop: "{{ nix_packages }}"

0 comments on commit 1bfbcaf

Please sign in to comment.