added iommu support for Quark
This commit is contained in:
@@ -91,6 +91,7 @@
|
||||
./hosts/generic/configuration_generic.nix
|
||||
./hosts/generic/users.nix
|
||||
./hosts/Quark/Quark-hardware.nix
|
||||
./hosts/generic/virtualization.nix
|
||||
# hm-stable.nixosModules.home-manager {
|
||||
# home-manager.useUserPackages = true;
|
||||
# home-manager.users.yaroslav = {
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
||||
|
||||
fileSystems."/" =
|
||||
{ #device = "/dev/disk/by-uuid/3126fadd-b793-4110-bcb7-577b7978cba2";
|
||||
|
||||
@@ -10,9 +10,13 @@
|
||||
boot.initrd.supportedFilesystems = [ "nfs" "nfsv4" "overlay" ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" "nfs" "nfsv4" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
swapDevices = [ ];
|
||||
boot.extraModprobeConfig = "options kvm_intel nested=1";
|
||||
boot.kernelParams = [
|
||||
"intel_iommu=on"
|
||||
];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda4";
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "none";
|
||||
|
||||
@@ -24,5 +24,5 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user