pvv-nixos-config/hosts/ildkule/hardware-configuration.nix

10 lines
335 B
Nix
Raw Normal View History

2024-04-21 13:38:42 +02:00
{ modulesPath, lib, ... }:
2022-12-17 22:12:36 +01:00
{
2024-04-21 13:38:42 +02:00
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"; };
2022-12-17 22:12:36 +01:00
networking.useDHCP = lib.mkDefault true;
}