From f3441f42a95ed5e9b8d98a76dcded0fd996bfd59 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Mon, 13 Nov 2023 16:44:25 +0100 Subject: [PATCH] Add network manager settings --- playbooks/apt.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/playbooks/apt.yaml b/playbooks/apt.yaml index 55b4154..7b25d7a 100644 --- a/playbooks/apt.yaml +++ b/playbooks/apt.yaml @@ -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