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