nixpkgs-suyu/nixos/modules
Florian Klink d4468bedb5 modules/virtualisation/qemu-vm: always enable serial console
Always enable both tty and serial console, but set preferred console
depending on cfg.graphical.
Even in qemu graphical mode, you can switch to the serial console via
Ctrl+Alt+3.

With that being done, you also don't need to specify
`systemd.services."serial-getty@ttyS0".enable = true;` either as described in
https://nixos.wiki/wiki/Cheatsheet#Building_a_service_as_a_VM_.28for_testing.29,
as systemd automatically spawns a getty on consoles passwd via cmdline.

This also means, vms built by 'nixos-rebuild build-vm' can simply be run
properly in nographic mode by appending `-nographic` to `result/bin/run-*-vm`,
without the need to explicitly add platform-specific QEMU_KERNEL_PARAMS.
2018-05-07 19:23:47 +03:00
..
config treewide: isArm -> isAarch32 2018-04-25 15:28:55 -04:00
hardware Merge branch 'master' into staging 2018-04-10 09:13:36 +02:00
i18n/input-method Added cross-references to NixOS manual 2018-04-12 09:39:14 +10:00
installer nix: 2.0.1 -> 2.0.2 2018-05-04 13:28:36 +02:00
misc nixos/documentation: Correct use of lib.optional 2018-05-05 15:55:53 +07:00
profiles Merge pull request #38114 from oxij/nixos/doc-module 2018-04-05 07:09:32 +00:00
programs Merge pull request #38831 from rdnetto/improve-cross-refs 2018-04-30 21:30:20 -04:00
security Merge pull request #39680 from bgamari/fix-acme-post-stop 2018-05-07 04:19:49 +00:00
services nixos/nsd: Allow to configure root zone 2018-05-07 04:05:41 +02:00
system switch-to-configuration: use Net::DBus to retrieve the list of units 2018-05-03 20:19:23 +02:00
tasks lxd: 2.16 -> 3.0.0 2018-04-14 11:02:24 +01:00
testing
virtualisation modules/virtualisation/qemu-vm: always enable serial console 2018-05-07 19:23:47 +03:00
module-list.nix Merge pull request #39991 from xeji/remove-fleet 2018-05-05 08:07:14 +02:00
rename.nix Merge pull request #39048 from oxij/nixos/fix-rename-bugs 2018-04-22 17:46:09 +00:00