at 18.09-beta 484 B view raw
1# Common configuration for Xen DomU NixOS virtual machines. 2 3{ ... }: 4 5{ 6 boot.loader.grub.version = 2; 7 boot.loader.grub.device = "nodev"; 8 9 boot.initrd.kernelModules = 10 [ "xen-blkfront" "xen-tpmfront" "xen-kbdfront" "xen-fbfront" 11 "xen-netfront" "xen-pcifront" "xen-scsifront" 12 ]; 13 14 # Send syslog messages to the Xen console. 15 services.syslogd.tty = "hvc0"; 16 17 # Don't run ntpd, since we should get the correct time from Dom0. 18 services.timesyncd.enable = false; 19}