1
0
Fork 0
pvv-nixos-config/hosts/ildkule/hardware-configuration.nix

11 lines
403 B
Nix

{ modulesPath, lib, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
boot.initrd.kernelModules = [ "nvme" ];
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
fileSystems."/data" = { device = "/dev/vdb1"; fsType = "ext4"; };
networking.useDHCP = lib.mkDefault true;
}