Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
ee4c79e5bc Add greetd 2025-07-13 19:56:26 +01:00

View file

@ -81,7 +81,11 @@
(services (append
(modify-services %desktop-services
(delete gdm-service-type))
(delete gdm-service-type)
(delete login-service-type)
(delete mingetty-service-type)
(delete console-font-service-type)
)
;; Configure swaylock
(list (service screen-locker-service-type
(screen-locker-configuration
@ -89,6 +93,21 @@
(program (file-append swaylock "/bin/swaylock"))
(using-pam? #t)
(using-setuid? #f)))
(service greetd-service-type
(greetd-configuration
(greeter-supplementary-groups (list "video" "input"))
(terminals
(list
;; TTY1 is the graphical login screen for Sway
(greetd-terminal-configuration
(terminal-vt "1")
(terminal-switch #t)
(default-session-command (greetd-wlgreet-sway-session))
)
(greetd-terminal-configuration (terminal-vt "2"))
(greetd-terminal-configuration (terminal-vt "3"))))))
)))