summary refs log tree commit diff stats
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorSystem administrator <root@nixos.yourvserver.net>2023-01-06 18:18:24 +0000
committerSystem administrator <root@server1.vhack.eu>2023-01-06 18:20:30 +0000
commitd522c778c6cb892ba2f7cc95474f60efded391b6 (patch)
tree02b210cd7666db6c42cb63b718da770c01c25f26 /hardware-configuration.nix
downloadnixos-server-d522c778c6cb892ba2f7cc95474f60efded391b6.tar.gz
nixos-server-d522c778c6cb892ba2f7cc95474f60efded391b6.zip
Initial Commit
Diffstat (limited to '')
-rw-r--r--hardware-configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
new file mode 100644
index 0000000..e8756e4
--- /dev/null
+++ b/hardware-configuration.nix
@@ -0,0 +1,9 @@
+{ modulesPath, ... }:
+{
+  imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
+  boot.loader.grub.device = "/dev/vda";
+  boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
+  boot.initrd.kernelModules = [ "nvme" "btrfs" ];
+  fileSystems."/" = { device = "/dev/vda3"; fsType = "ext4"; };
+  
+}