nixos-config/hosts/vm/hardware-configuration.nix

23 lines
505 B
Nix
Raw Permalink Normal View History

2023-05-19 11:42:43 +02:00
{ lib, modulesPath, ... }:
2023-05-01 12:30:21 +02:00
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2024-05-15 11:01:15 +02:00
# fileSystems."/" =
# {
# # Replace with actual config
# device = "/dev/sda";
# fsType = "ext4";
# };
2023-05-01 12:30:21 +02:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}