Skip to content

Commit

Permalink
fix(nix): applied fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNabokikh committed Dec 13, 2023
1 parent dc4e3e3 commit d844db4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- name: Install flatpak packages.
become: "{{ 'true' if item.method is defined and item.method == 'system' else 'false' }}"
community.general.flatpak:
name: "{{ item.name }}"
name: "{{ item.name | default(item) }}"
state: "{{ item.state | default('present') }}"
method: "{{ item.method | default('user') }}"
remote: "{{ item.remote | default('flathub') }}"
Expand Down
2 changes: 1 addition & 1 deletion tasks/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
creates: "/nix/store"

- name: Source the nix.sh script
shell: |
ansible.builtin.shell: |
. "/home/{{ username }}/.nix-profile/etc/profile.d/nix.sh"
args:
executable: /bin/bash
Expand Down

0 comments on commit d844db4

Please sign in to comment.