nixpkgs/nixos/modules/virtualisation
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
..
amazon-image.nix nixos: introduce boot.growPartition (#33521) 2018-01-06 13:52:51 +00:00
amazon-init.nix nixos: Move uses of stdenv.shell to runtimeShell. 2018-03-01 14:38:53 -05:00
amazon-options.nix Fix eval error due to config.ec2.hvm 2017-04-04 13:49:13 +02:00
azure-agent-entropy.patch virtualization/azure: take entropy handling code out of WALA and execute it before SSHD generates the host keys 2016-03-13 13:57:30 +02:00
azure-agent.nix azure-agent: add bash to service path. 2018-04-17 16:26:04 +02:00
azure-bootstrap-blobs.nix add Azure bootstrap blob list 2016-09-15 16:27:47 +03:00
azure-common.nix openssh: support prohibit-password for permitRootLogin 2016-10-01 13:23:56 -04:00
azure-config-user.nix azure-image: provide configuration.nix which allows nixos-rebuild to build a working generation and add helpful comments 2016-03-03 04:03:07 +02:00
azure-config.nix Initial configuration + image generation script for Micro$oft Azure. Work in progress for #3986. 2014-09-06 21:37:46 +02:00
azure-image.nix azure-image: switch to use the common make-disk-image.nix 2017-04-25 02:59:13 +00:00
azure-images.nix Add file with Azure image locations, similar to ec2-amis.nix. Will be used by nixops. 2017-07-18 09:18:51 +00:00
azure-qemu-220-no-etc-install.patch azure: package qemu @ 2.2.0 2016-02-18 21:08:28 -08:00
brightbox-config.nix Add initial Brightbox expression. 2015-08-08 19:50:22 +00:00
brightbox-image.nix nixos: rename config.system.nixos* -> config.system.nixos.* 2018-02-18 12:56:30 +00:00
container-config.nix nixos/containers: Enable use of the network.useHostResolvConf option (#34354) 2018-01-28 14:42:15 +00:00
containers.nix Merge pull request #35541 from xeji/containers-extraflags 2018-04-21 14:16:49 +01:00
docker-image.nix container.nix -> docker-container.nix 2015-04-19 22:06:45 +02:00
docker.nix docker: Allow package selection in module 2017-09-04 19:02:05 -04:00
ec2-amis.nix ec2-amis.nix: add 18.03 images 2018-04-05 11:58:53 +02:00
ec2-data.nix ec2-data: ensure providing a SSH host key is actually optional 2016-02-25 20:11:49 -06:00
ecs-agent.nix nixos/modules: use defaultText/literalExample where applicable 2017-03-07 14:06:08 +01:00
gce-images.nix Add file with GCE image locations, similar to ec2-amis.nix. Will be used by nixops. 2017-07-18 09:16:15 +00:00
google-compute-config.nix Work around infinite recursion issue in nixops. 2015-04-29 09:55:20 +00:00
google-compute-image.nix barf if pulling the ssh host keys fails 2018-04-28 17:07:54 +01:00
grow-partition.nix nixos: introduce boot.growPartition (#33521) 2018-01-06 13:52:51 +00:00
hyperv-guest.nix hyperv-daemons: add nixos module 2018-01-04 21:09:01 +08:00
libvirtd.nix libvirt: 3.10.0 -> 4.1.0 2018-03-08 23:45:28 +00:00
lxc-container.nix container.nix -> docker-container.nix 2015-04-19 22:06:45 +02:00
lxc.nix lxd: 2.16 -> 3.0.0 2018-04-14 11:02:24 +01:00
lxcfs.nix lxcfs: remove cgmanager dependency 2017-11-07 11:04:12 +00:00
lxd.nix lxd: 2.16 -> 3.0.0 2018-04-14 11:02:24 +01:00
nova-config.nix nixos: introduce boot.growPartition (#33521) 2018-01-06 13:52:51 +00:00
openvswitch.nix nixos: Move uses of stdenv.shell to runtimeShell. 2018-03-01 14:38:53 -05:00
parallels-guest.nix parallels: add package config option 2018-03-01 17:09:13 -06:00
qemu-vm.nix modules/virtualisation/qemu-vm: always enable serial console 2018-05-07 19:23:47 +03:00
rkt.nix nixos/treewide: systemd.time is in manvolume 7 2017-03-21 08:28:53 +01:00
virtualbox-guest.nix virtualbox guest module: make x11 optional 2016-12-04 22:24:01 +01:00
virtualbox-host.nix virtualisation.virtualbox.host: migrate from mkOption to mkEnableOption 2018-05-01 22:47:54 +02:00
virtualbox-image.nix nixos: rename config.system.nixos* -> config.system.nixos.* 2018-02-18 12:56:30 +00:00
vmware-guest.nix open-vm-tools: do not pull x dependencies unconditionally 2017-08-15 17:05:30 +08:00
xe-guest-utilities.nix xe-guest-utilities: init at 6.2.0 2016-03-30 09:27:40 -07:00
xen-dom0.nix xen 4.10: link /etc/xen/oxenstored.conf 2018-03-07 22:39:19 +01:00
xen-domU.nix xen: update domU config for pvgrub2 2017-02-12 20:53:54 +01:00