diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-25 16:54:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-25 21:34:23 +0200 |
commit | bf87f38ace7f0cbad5558c1ef027b9f02988e393 (patch) | |
tree | aebed4cf8d58d098beb8d6b0e00d2c434e20d8d9 /gnu/system/examples/bare-bones.tmpl | |
parent | 0899144f797b5a660bee17427a7d07d70ba89bc4 (diff) | |
download | patches-bf87f38ace7f0cbad5558c1ef027b9f02988e393.tar patches-bf87f38ace7f0cbad5558c1ef027b9f02988e393.tar.gz |
system: Define '%base-user-accounts'.
* gnu/system/shadow.scm (%base-user-accounts): New variable.
* gnu/system.scm (<operating-system>)[users]: Use it as the default value.
* gnu/system/examples/bare-bones.tmpl (users): Use it.
* gnu/system/examples/desktop.tmpl (users): Likewise.
* doc/guix.texi (operating-system Reference, User Accounts): Adjust
accordingly.
Diffstat (limited to 'gnu/system/examples/bare-bones.tmpl')
-rw-r--r-- | gnu/system/examples/bare-bones.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/system/examples/bare-bones.tmpl b/gnu/system/examples/bare-bones.tmpl index 8f4faca2d3..dc5cfc81a4 100644 --- a/gnu/system/examples/bare-bones.tmpl +++ b/gnu/system/examples/bare-bones.tmpl @@ -23,7 +23,7 @@ ;; This is where user accounts are specified. The "root" ;; account is implicit, and is initially created with the ;; empty password. - (users (list (user-account + (users (cons (user-account (name "alice") (comment "Bob's sister") (group "users") @@ -34,7 +34,8 @@ ;; and access the webcam. (supplementary-groups '("wheel" "audio" "video")) - (home-directory "/home/alice")))) + (home-directory "/home/alice")) + %base-user-accounts)) ;; Globally-installed packages. (packages (cons tcpdump %base-packages)) |