nixpkgs-suyu/nixos
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
..
doc rl-1809: add googleearth 2018-05-04 14:41:13 -05:00
lib nixos/lib/make-ext4-fs: Add a sanity check 2018-05-05 19:30:54 +03:00
maintainers treewide: rename version attributes 2018-04-28 14:23:53 +02:00
modules modules/virtualisation/qemu-vm: always enable serial console 2018-05-07 19:23:47 +03:00
tests nixos/nsd: Allow to configure root zone 2018-05-07 04:05:41 +02:00
COPYING
default.nix nixos: export packages of the current configuration (its pkgs argument) 2018-02-09 19:35:27 +00:00
README
release-combined.nix Revert "release-combined: don't include tests.chromium" 2018-04-27 02:42:12 +02:00
release-small.nix Add the boot test to release-small.nix 2018-02-27 20:09:07 +01:00
release.nix fleet: remove package, module, test 2018-05-05 00:28:16 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.