initial cloud config
This commit is contained in:
parent
3de1ca400c
commit
93a64e8816
6 changed files with 81 additions and 2 deletions
hosts/cloud
9
hosts/cloud/hardware-configuration.nix
Normal file
9
hosts/cloud/hardware-configuration.nix
Normal file
|
@ -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"; };
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue