services: greetd: Remove unnecessary user groups.

* gnu/services/base.scm (%greetd-accounts): Remove supplementary groups
users, tty, input, audio. Create special user group “greeter”.
This commit is contained in:
Lars-Dominik Braun 2022-06-29 09:18:22 +02:00
parent 75a520cca6
commit d921516f50
No known key found for this signature in database
GPG key ID: 421377011A378446

View file

@ -2912,8 +2912,12 @@ (define (make-greetd-terminal-configuration-file config)
(define %greetd-accounts (define %greetd-accounts
(list (user-account (list (user-account
(name "greeter") (name "greeter")
(group "wheel") (group "greeter")
(supplementary-groups '("users" "tty" "input" "video" "audio")) ;; video group is required for graphical greeters.
(supplementary-groups '("video"))
(system? #t))
(user-group
(name "greeter")
(system? #t)))) (system? #t))))
(define %greetd-file-systems (define %greetd-file-systems