about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/configuration.nix10
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; [