aboutsummaryrefslogtreecommitdiffstats
path: root/roles/linux_desktop
diff options
context:
space:
mode:
Diffstat (limited to 'roles/linux_desktop')
-rw-r--r--roles/linux_desktop/files/etc/sddm.conf5
-rw-r--r--roles/linux_desktop/tasks/main.yml10
2 files changed, 9 insertions, 6 deletions
diff --git a/roles/linux_desktop/files/etc/sddm.conf b/roles/linux_desktop/files/etc/sddm.conf
new file mode 100644
index 0000000..8de8382
--- /dev/null
+++ b/roles/linux_desktop/files/etc/sddm.conf
@@ -0,0 +1,5 @@
+[General]
+DisplayServer = x11
+
+[Wayland]
+SessionDir = /dev/null
diff --git a/roles/linux_desktop/tasks/main.yml b/roles/linux_desktop/tasks/main.yml
index 5fbb799..c933df6 100644
--- a/roles/linux_desktop/tasks/main.yml
+++ b/roles/linux_desktop/tasks/main.yml
@@ -23,12 +23,10 @@
dest: /etc/systemd/system/default.target
state: link
-- name: set sddm to use x11
- ini_file:
- path: /etc/sddm.conf
- section: General
- option: DisplayServer
- value: x11
+- name: copy sddm configuration
+ copy:
+ src: etc/sddm.conf
+ dest: /etc/sddm.conf
notify: restart sddm
- name: enable sddm