guix/gnu/system
Attila Lendvai b42bfbdfe5
guix system vm: Add --no-graphic CLI argument.
It configures QEMU to use the tty it was started in for IO (as opposed to
opening a separate graphical window).  This enables copy-pasting and
scrollback.  Exit QEMU with C-a x.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): Also add the
'-nographic' QEMU argument when called with #:graphic? #false.
* guix/scripts/system.scm (system-derivation-for-action): Propagate
the #:graphic? keyword arg.
(perform-action): Add and propagate the #:graphic? keyword arg.
(show-help): Add --no-graphic CLI arg.
(%options): Process the new --no-graphic CLI arg.
(process-action): Feed in the CLI arg through the #:graphic? keyword arg.
* doc/guix.texi (Invoking guix system): Add example to combine guix system and
invoking the vm start script into one command.  Split the description of the
various options into separate paragraphs.  Add a paragraph to describe
--no-graphic.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-12-03 14:18:32 +01:00
..
examples doc: Add new Swap Space section. 2021-11-23 10:24:28 +01:00
images system: image: Ensure Hurd images are cross-compiled if needed. 2021-10-18 10:00:50 +02:00
accounts.scm accounts: Add default value for the 'home-directory' field of <user-account>. 2019-03-25 23:37:06 +01:00
file-systems.scm system: Add swap flags. 2021-11-23 10:24:27 +01:00
hurd.scm system: hurd: Add 'info-reader' to %BASE-PACKAGES/HURD. 2021-10-18 10:00:50 +02:00
image.scm image: Support generating GPT images via `partition-table-type`. 2021-11-12 12:06:58 +00:00
install.scm Migrate to the new 'targets' field of bootloader-configuration. 2021-08-29 01:05:26 -04:00
keyboard.scm system: Allow for comma-separated keyboard layouts. 2020-04-06 00:14:13 +02:00
linux-container.scm services: shepherd: 'shepherd-service-type' requires documentation. 2021-01-13 22:24:18 +01:00
linux-initrd.scm linux-initrd: Support checking NTFS volumes on boot. 2021-10-13 01:20:19 +02:00
locale.scm locale: Remove glibc 2.29 from '%default-locale-libcs'. 2021-05-04 14:19:11 +02:00
mapped-devices.scm gnu: system: Add LUKS2 support for the root file system. 2021-12-01 17:51:37 +01:00
nss.scm nss: Remove '%compat' from the defaults. 2018-03-27 23:26:15 +02:00
pam.scm services: slim: Add pam-gnupg support. 2021-08-17 01:10:25 +03:00
setuid.scm system: Add (gnu system setuid). 2021-07-29 13:09:48 -04:00
shadow.scm services: Do not warn, when duplicate users are eq?. 2021-01-20 09:04:59 +01:00
uuid.scm uuid: Support XFS. 2021-09-23 18:17:17 +02:00
vm.scm guix system vm: Add --no-graphic CLI argument. 2021-12-03 14:18:32 +01:00