diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-12-11 01:31:17 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-19 23:39:55 +0100 |
commit | 9c42d1fa0023849f4cc62cea73469a08c1ab1fdd (patch) | |
tree | 0bde4fee193d9b32228133c7dbff2b11c376e539 /gnu/system/examples | |
parent | ed818c66d371656c869f43d7a7cbbcfba2df647b (diff) | |
download | guix-9c42d1fa0023849f4cc62cea73469a08c1ab1fdd.tar.gz |
doc: Add group configuration example
* gnu/system/examples/desktop.tmpl: Add group configuration example. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/system/examples')
-rw-r--r-- | gnu/system/examples/desktop.tmpl | 7 |
1 files changed, 6 insertions, 1 deletions
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 |