Add greetd
This commit is contained in:
parent
1e56e2a54c
commit
ee4c79e5bc
1 changed files with 20 additions and 1 deletions
|
@ -81,7 +81,11 @@
|
||||||
|
|
||||||
(services (append
|
(services (append
|
||||||
(modify-services %desktop-services
|
(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
|
;; Configure swaylock
|
||||||
(list (service screen-locker-service-type
|
(list (service screen-locker-service-type
|
||||||
(screen-locker-configuration
|
(screen-locker-configuration
|
||||||
|
@ -89,6 +93,21 @@
|
||||||
(program (file-append swaylock "/bin/swaylock"))
|
(program (file-append swaylock "/bin/swaylock"))
|
||||||
(using-pam? #t)
|
(using-pam? #t)
|
||||||
(using-setuid? #f)))
|
(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"))))))
|
||||||
)))
|
)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue