fix(nix): Correctly configure required kernel modules & VMWare guest

This commit is contained in:
Vincent Ambo 2018-01-02 22:51:31 +01:00
parent f9641cc1ed
commit 41a213054d

View file

@ -7,12 +7,22 @@
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda";
boot.initrd.availableKernelModules = [
"ata_piix"
"mptspi"
"sd_mod"
"sr_mod"
];
# Configure root disk
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
services.vmwareGuest.enable = true;
services.vmwareGuest.headless = true;
time.timeZone = "Europe/Oslo";
environment.systemPackages = with pkgs; [