diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-06-01 16:12:07 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-06-04 12:04:24 +0200 |
commit | 3f83c0b7c7b4761062184a01f0977199957383ad (patch) | |
tree | b61c9c5effd781826e8b23685a0c1cee9b5e99e7 /doc | |
parent | f9fb00ff082a54ee113320329a7bd089d4d0b314 (diff) | |
download | guix-3f83c0b7c7b4761062184a01f0977199957383ad.tar.gz |
guix system: Add 'edit' sub-command.
* guix/scripts/system/edit.scm: New file. * Makefile.am (MODULES): Add it. * guix/scripts/system.scm (show-help): Mention "edit". (actions): Add it. (process-command): Handle it. * doc/guix.texi (Invoking guix system): Document it. * po/guix/POTFILES.in: Add guix/scripts/system/edit.scm.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 0694d10980..42651d87f5 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -36603,6 +36603,19 @@ As for @command{guix package --search}, the result is written in @code{recutils} format, which makes it easy to filter the output (@pxref{Top, GNU recutils databases,, recutils, GNU recutils manual}). +@cindex service type definition, editing +@cindex editing, service type definition +@item edit +Edit or view the definition of the given service types. + +For example, the command below opens your editor, as specified by the +@env{EDITOR} environment variable, on the definition of the +@code{openssh} service type: + +@example +guix system edit openssh +@end example + @item reconfigure Build the operating system described in @var{file}, activate it, and switch to it@footnote{This action (and the related actions |