summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2019-02-27 19:26:12 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2019-02-27 19:26:12 +0100
commit4be9c7bbea39b7a9f5ea8381977fa2c8a162ed6b (patch)
treecdf5dbb60b9b610457d835924f8c4882f6329136
parentbf4da46633ce3682339ea01bf18c98562fa04c5d (diff)
downloadAnsible-4be9c7bbea39b7a9f5ea8381977fa2c8a162ed6b.tar.gz
Ansible-4be9c7bbea39b7a9f5ea8381977fa2c8a162ed6b.tar.zst
Ansible-4be9c7bbea39b7a9f5ea8381977fa2c8a162ed6b.zip
Add nixpkgs configuration
-rw-r--r--roles/tools/files/nixpkgs/config.nix1
-rw-r--r--roles/tools/tasks/main.yml2
2 files changed, 3 insertions, 0 deletions
diff --git a/roles/tools/files/nixpkgs/config.nix b/roles/tools/files/nixpkgs/config.nix
new file mode 100644
index 0000000..69baf10
--- /dev/null
+++ b/roles/tools/files/nixpkgs/config.nix
@@ -0,0 +1 @@
{ allowUnfree = true; }
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml
index dea5a79..63239db 100644
--- a/roles/tools/tasks/main.yml
+++ b/roles/tools/tasks/main.yml
@@ -20,6 +20,7 @@
20 - youtube-viewer 20 - youtube-viewer
21 - remind 21 - remind
22 - systemd/user 22 - systemd/user
23 - nixpkgs
23- name: config files 24- name: config files
24 copy: 25 copy:
25 src: "{{ item }}" 26 src: "{{ item }}"
@@ -27,6 +28,7 @@
27 loop: 28 loop:
28 - htop/htoprc 29 - htop/htoprc
29 - mplayer/config 30 - mplayer/config
31 - nixpkgs/config.nix
30- name: template config files 32- name: template config files
31 template: 33 template:
32 src: "{{ item }}.j2" 34 src: "{{ item }}.j2"