diff --git a/kodi.yml b/kodi.yml index 93b476e..b09f752 100644 --- a/kodi.yml +++ b/kodi.yml @@ -26,6 +26,10 @@ - android-tools-adb - android-tools-fastboot - android-tools-mkbootimg + # kodi and desktop specific + - flatpak + - mate-desktop-environment-core + - lightdm update_cache: yes install_recommends: no @@ -33,5 +37,36 @@ community.general.flatpak: name: - tv.kodi.Kodi + - io.gitlab.librewolf-community state: present method: system + + - name: lightdm.conf + blockinfile: + path: /etc/lightdm/lightdm.conf + create: yes + mode: "0444" + owner: root + group: root + insertafter: "#exit-on-failure=false" + marker: "# {mark} tor-nas ANSIBLE MANAGED BLOCK" + block: | + session-wrapper=/etc/X11/Xsession + user-session=mate + greeter-hide-users=false + greeter-show-manual-login=true + allow-guest=false + xserver-command=X -core -dpi 96 + autologin-user=pi + backup: yes + notify: + - Restart lightdm + + + handlers: + + - name: Restart lightdm + service: + name: lightdm + state: restarted +