guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: doc: Add group configuration example


From: guix-commits
Subject: 04/04: doc: Add group configuration example
Date: Sun, 19 Dec 2021 17:40:26 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 9c42d1fa0023849f4cc62cea73469a08c1ab1fdd
Author: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
AuthorDate: Sat Dec 11 01:31:17 2021 +0100

    doc: Add group configuration example
    
    * gnu/system/examples/desktop.tmpl: Add group configuration example.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 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 6df5384..a209fbc 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]