diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-02-27 19:26:12 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2019-02-27 19:26:12 +0100 |
commit | 4be9c7bbea39b7a9f5ea8381977fa2c8a162ed6b (patch) | |
tree | cdf5dbb60b9b610457d835924f8c4882f6329136 /roles | |
parent | bf4da46633ce3682339ea01bf18c98562fa04c5d (diff) | |
download | Ansible-4be9c7bbea39b7a9f5ea8381977fa2c8a162ed6b.tar.gz Ansible-4be9c7bbea39b7a9f5ea8381977fa2c8a162ed6b.tar.zst Ansible-4be9c7bbea39b7a9f5ea8381977fa2c8a162ed6b.zip |
Add nixpkgs configuration
Diffstat (limited to 'roles')
-rw-r--r-- | roles/tools/files/nixpkgs/config.nix | 1 | ||||
-rw-r--r-- | roles/tools/tasks/main.yml | 2 |
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" |