From 93a64e881679ac8dd76f67b909df7bc85ac851ce Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Thu, 2 Jan 2025 18:23:46 +0000 Subject: initial cloud config --- hosts/cloud/hardware-configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 hosts/cloud/hardware-configuration.nix (limited to 'hosts/cloud/hardware-configuration.nix') diff --git a/hosts/cloud/hardware-configuration.nix b/hosts/cloud/hardware-configuration.nix new file mode 100644 index 0000000..5e7b44e --- /dev/null +++ b/hosts/cloud/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" "xen_blkfront" "vmw_pvscsi" ]; + boot.initrd.kernelModules = [ "nvme" ]; + fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; }; + +} -- cgit v1.3.1