Add network manager settings

main
Micke Nordin 1 year ago
parent f9335eed40
commit f3441f42a9

@ -22,6 +22,7 @@
- grimshot
- lxpolkit
- network-manager-gnome
- network-manager-config-connectivity-debian
- nextcloud-desktop
- npm
- pass
@ -63,3 +64,14 @@
ansible.builtin.command:
cmd: systemctl --user enable --now pipewire-pulse
creates: /home/{{ uid }}/.config/systemd/user/default.target.wants/pipewire-pulse.service
- 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

Loading…
Cancel
Save