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:
		
							parent
							
								
									ed818c66d3
								
							
						
					
					
						commit
						9c42d1fa00
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -52,11 +52,16 @@ | ||||||
|                 (name "bob") |                 (name "bob") | ||||||
|                 (comment "Alice's brother") |                 (comment "Alice's brother") | ||||||
|                 (password (crypt "alice" "$6$abc")) |                 (password (crypt "alice" "$6$abc")) | ||||||
|                 (group "users") |                 (group "students") | ||||||
|                 (supplementary-groups '("wheel" "netdev" |                 (supplementary-groups '("wheel" "netdev" | ||||||
|                                         "audio" "video"))) |                                         "audio" "video"))) | ||||||
|                %base-user-accounts)) |                %base-user-accounts)) | ||||||
| 
 | 
 | ||||||
|  |   ;; Add the `students' group | ||||||
|  |   (groups (cons* (user-group | ||||||
|  |                   (name "students")) | ||||||
|  |                  %base-groups)) | ||||||
|  | 
 | ||||||
|   ;; This is where we specify system-wide packages. |   ;; This is where we specify system-wide packages. | ||||||
|   (packages (append (list |   (packages (append (list | ||||||
|                      ;; for HTTPS access |                      ;; for HTTPS access | ||||||
|  |  | ||||||
		Reference in a new issue