Subject: [bug#52419] [PATCH] doc: Add group configuration example

From: Denis 'GNUtoo' Carikli <[email-masked]>
Date: Sat, 11 Dec 2021 01:31:17 +0100

* gnu/system/examples/desktop.tmpl: Add group configuration example.

Signed-off-by: Denis 'GNUtoo' Carikli <[email-masked]>
---
 gnu/system/examples/desktop.tmpl | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/system/examples/desktop.tmpl b/gnu/system/examples/desktop.tmpl
index 6df53844b1..cd5a37a888 100644
--- a/gnu/system/examples/desktop.tmpl
+++ b/gnu/system/examples/desktop.tmpl
@@ -52,11 +52,16 @@
                 (name "bob")
                 (comment "Alice's brother")
                 (password (crypt "alice" "$6$abc"))
-                (group "users")
+                (group "students")
                 (supplementary-groups '("wheel" "netdev"
                                         "audio" "video")))
                %base-user-accounts))
 
+  ;; Add the `students` group
+  (groups (cons* (user-group
+                  (name "students"))
+                 %base-groups))
+
   ;; This is where we specify system-wide packages.
   (packages (append (list
                      ;; for HTTPS access
-- 
2.34.0