1 { config, lib, pkgs, ... }:
5 ../profiles/qemu-guest.nix
10 device = "/dev/disk/by-label/nixos";
15 boot.growPartition = true;
16 boot.kernelParams = [ "console=ttyS0" ];
17 boot.loader.grub.device = "/dev/vda";
18 boot.loader.timeout = 0;
20 services.qemuGuest.enable = true;
21 services.openssh.enable = true;
22 services.cloud-init.enable = true;
23 systemd.services."serial-getty@ttyS0".enable = true;
25 system.build.kubevirtImage = import ../../lib/make-disk-image.nix {
26 inherit lib config pkgs;