blob: 5f331f199d93947fcd8851cc3512f73d4afe47af (
plain) (
tree)
|
|
{ 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/sdb"; # 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;
}
|