parent
5602648f15
commit
1d6e9fa06f
@ -0,0 +1,19 @@
|
|||||||
|
---
|
||||||
|
- name: Set up network stuff
|
||||||
|
hosts: localhost
|
||||||
|
connection: local
|
||||||
|
become: false
|
||||||
|
vars:
|
||||||
|
uid: "{{ lookup('env','USER') }}"
|
||||||
|
tasks:
|
||||||
|
- name: Allow nm-applet to set wifi
|
||||||
|
become: true
|
||||||
|
ansible.builtin.template:
|
||||||
|
src: ../templates/org.freedesktop.NetworkManager.policy.j2
|
||||||
|
dest: /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy
|
||||||
|
- name: Manage ifupdown in NM
|
||||||
|
become: true
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /etc/NetworkManager/NetworkManager.conf
|
||||||
|
regex: managed=false
|
||||||
|
line: managed=true
|
@ -0,0 +1,12 @@
|
|||||||
|
---
|
||||||
|
- name: Setup pipewire
|
||||||
|
hosts: localhost
|
||||||
|
connection: local
|
||||||
|
become: false
|
||||||
|
vars:
|
||||||
|
uid: "{{ lookup('env','USER') }}"
|
||||||
|
tasks:
|
||||||
|
- name: Enable pipewire-audio
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: systemctl --user enable --now pipewire-pulse
|
||||||
|
creates: /home/{{ uid }}/.config/systemd/user/default.target.wants/pipewire-pulse.service
|
Loading…
Reference in new issue