{ config, pkgs, lib, modulesPath, ... }: { imports = [(modulesPath + "/profiles/qemu-guest.nix")]; boot = { initrd = { availableKernelModules = ["uhci_hcd" "ehci-pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"]; kernelModules = []; }; kernelModules = ["kvm-intel"]; extraModulePackages = []; }; fileSystems = { "/" = { device = "/dev/sda1"; fsType = "xfs"; }; }; networking.hostName = "crystal-gitlab"; networking.useDHCP = true; nixpkgs.hostPlatform = "x86_64-linux"; powerManagement.cpuFreqGovernor = "performance"; services.qemuGuest.enable = true; }