about summary refs log tree commit diff stats
path: root/nix-conf/machines/edrahil/hardware-configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix-conf/machines/edrahil/hardware-configuration.nix')
-rw-r--r--nix-conf/machines/edrahil/hardware-configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix-conf/machines/edrahil/hardware-configuration.nix b/nix-conf/machines/edrahil/hardware-configuration.nix
new file mode 100644
index 0000000..f67b9f4
--- /dev/null
+++ b/nix-conf/machines/edrahil/hardware-configuration.nix
@@ -0,0 +1,9 @@
+{ modulesPath, ... }:
+{
+  imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
+  boot.loader.grub.device = "/dev/sda";
+  boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "vmw_pvscsi" "xen_blkfront" ];
+  boot.initrd.kernelModules = [ "nvme" ];
+  fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
+  
+}