From d522c778c6cb892ba2f7cc95474f60efded391b6 Mon Sep 17 00:00:00 2001 From: System administrator Date: Fri, 6 Jan 2023 18:18:24 +0000 Subject: Initial Commit --- hardware-configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hardware-configuration.nix (limited to 'hardware-configuration.nix') 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"; }; + +} -- cgit 1.4.1