diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-01-02T21·51+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-01-02T21·51+0100 |
commit | 41a213054de9241a92833b8db5345715e4e6c66d (patch) | |
tree | ce774c411f49e4e45700fe2258757fc40c74d06b | |
parent | f9641cc1ed5c8436c296dd31af2745ddcdf3e426 (diff) |
fix(nix): Correctly configure required kernel modules & VMWare guest
-rw-r--r-- | nix/configuration.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix index 78f34cd037cf..1de11a16f9b6 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -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; [ |