diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2016-04-16 12:42:04 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2016-04-17 01:23:52 +0200 |
| commit | e9dffec1265233c3b37ef61538b51f121a420ffa (patch) | |
| tree | 1ea3c5e4c865b9e689182b3ee867cd9e3d797093 /doc | |
| parent | d5e5924835fcaafa716e4b95157299fa8dccaab5 (diff) | |
doc: Update 'skeletons' field documentation.
* doc/guix.texi (operating-system Reference): Update documentation of
'skeletons' as a followup to e79467f63a06811ba5dd8c8b0cc79553c5dd4e3a.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 80881678182..34683d25550 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -6426,15 +6426,17 @@ For example, @code{'("/dev/sda3")}. | |||
| 6426 | List of user accounts and groups. @xref{User Accounts}. | 6426 | List of user accounts and groups. @xref{User Accounts}. |
| 6427 | 6427 | ||
| 6428 | @item @code{skeletons} (default: @code{(default-skeletons)}) | 6428 | @item @code{skeletons} (default: @code{(default-skeletons)}) |
| 6429 | A monadic list of pairs of target file name and files. These are the | 6429 | A list target file name/file-like object tuples (@pxref{G-Expressions, |
| 6430 | files that will be used as skeletons as new accounts are created. | 6430 | file-like objects}). These are the skeleton files that will be added to |
| 6431 | the home directory of newly-created user accounts. | ||
| 6431 | 6432 | ||
| 6432 | For instance, a valid value may look like this: | 6433 | For instance, a valid value may look like this: |
| 6433 | 6434 | ||
| 6434 | @example | 6435 | @example |
| 6435 | (mlet %store-monad ((bashrc (text-file "bashrc" "\ | 6436 | `((".bashrc" ,(plain-file "bashrc" "echo Hello\n")) |
| 6436 | export PATH=$HOME/.guix-profile/bin"))) | 6437 | (".guile" ,(plain-file "guile" |
| 6437 | (return `((".bashrc" ,bashrc)))) | 6438 | "(use-modules (ice-9 readline)) |
| 6439 | (activate-readline)"))) | ||
| 6438 | @end example | 6440 | @end example |
| 6439 | 6441 | ||
| 6440 | @item @code{issue} (default: @var{%default-issue}) | 6442 | @item @code{issue} (default: @var{%default-issue}) |
