diff options
| author | Grigory Shipunov | 2025-01-02 18:23:46 +0000 |
|---|---|---|
| committer | Grigory Shipunov | 2025-01-02 18:25:21 +0000 |
| commit | 93a64e881679ac8dd76f67b909df7bc85ac851ce (patch) | |
| tree | 361623a6d4dbfee2df9823d5726d8d4cab74c7b9 /hosts/cloud/hardware-configuration.nix | |
| parent | 3de1ca400cc6f2de7ec6b8ecbbf44be130649ef6 (diff) | |
initial cloud config
Diffstat (limited to 'hosts/cloud/hardware-configuration.nix')
| -rw-r--r-- | hosts/cloud/hardware-configuration.nix | 9 |
1 files changed, 9 insertions, 0 deletions
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"; }; + +} |
