aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/file-systems.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-25 00:12:35 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-25 00:12:35 +0200
commitc8fa34265d6612c99fe80adfaa66edaddd4d5b0c (patch)
tree282167e6f1e0f9e2e3305448dc5ef7d9c6e4da1d /gnu/system/file-systems.scm
parent931c132a58d86287d7a73964f9731a3b578538cc (diff)
downloadguix-c8fa34265d6612c99fe80adfaa66edaddd4d5b0c.tar
guix-c8fa34265d6612c99fe80adfaa66edaddd4d5b0c.tar.gz
system: Add the 'system?' field for user groups.
Suggested by Mark H. Weaver. * gnu/system/shadow.scm (<user-group>)[system?]: New field. (%base-groups): Introduce 'system-group' macro, and use it. * gnu/system.scm (user-group->gexp): Pass the 'system?' field. * guix/build/activation.scm (add-group): Add #:system? and honor it. (activate-users+groups): Handle the 'system?' field. * gnu/system/file-systems.scm (%tty-gid): Choose an ID below 1000. * doc/guix.texi (User Accounts): Document the 'system?' field.
Diffstat (limited to 'gnu/system/file-systems.scm')
-rw-r--r--gnu/system/file-systems.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm
index 3b13d820cf..48c4fc7e77 100644
--- a/gnu/system/file-systems.scm
+++ b/gnu/system/file-systems.scm
@@ -95,7 +95,7 @@
(define %tty-gid
;; ID of the 'tty' group. Allocate it statically to make it easy to refer
;; to it from here and from the 'tty' group definitions.
- 1004)
+ 996)
(define %pseudo-terminal-file-system
;; The pseudo-terminal file system. It needs to be mounted so that