{ config, lib, pkgs, modulesPath, ... }: { imports = [ ]; boot = { initrd = { availableKernelModules = [ "ata_piix" "ohci_pci" "sd_mod" "sr_mod" ]; kernelModules = [ ]; }; kernelModules = [ ]; extraModulePackages = [ ]; kernelParams = [ "net.ifnames=0" "biosdevname=0" ]; }; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; # Define on which hard drive you want to install Grub. boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only swapDevices = [ ]; services.xserver = { # Enable touchpad support (enabled default in most desktopManager). libinput.enable = true; }; hardware = { opengl = { enable = true; driSupport = true; }; }; virtualisation.virtualbox.guest.enable = true; }