summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLars-Dominik Braun <ldb@leibniz-psychology.org>2022-06-29 09:18:22 +0200
committerLars-Dominik Braun <ldb@leibniz-psychology.org>2022-06-30 09:20:37 +0200
commitd921516f50a946e92f9d5dc6d3bd49aca9788ac2 (patch)
treeeeed05872dde65442f136517673d3ef1dd0ac68e /gnu/services
parent75a520cca62ea105a6fbb7f1d74b3a4ef439cd73 (diff)
services: greetd: Remove unnecessary user groups.
* gnu/services/base.scm (%greetd-accounts): Remove supplementary groups users, tty, input, audio. Create special user group “greeter”.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/base.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index d58afb27e3..75a0cf69d7 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -2912,8 +2912,12 @@ to handle."
(define %greetd-accounts
(list (user-account
(name "greeter")
- (group "wheel")
- (supplementary-groups '("users" "tty" "input" "video" "audio"))
+ (group "greeter")
+ ;; video group is required for graphical greeters.
+ (supplementary-groups '("video"))
+ (system? #t))
+ (user-group
+ (name "greeter")
(system? #t))))
(define %greetd-file-systems