doc: Add group configuration example

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2021-12-11 01:31:17 +01:00 committed by Ludovic Courtès
parent ed818c66d3
commit 9c42d1fa00
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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