From 9c42d1fa0023849f4cc62cea73469a08c1ab1fdd Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 11 Dec 2021 01:31:17 +0100 Subject: [PATCH] doc: Add group configuration example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/system/examples/desktop.tmpl: Add group configuration example. Signed-off-by: Ludovic Courtès --- 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..a209fbcb05 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