This commit is contained in:
2026-03-24 23:53:22 +09:00
parent 545268cf50
commit 20df64d56b
6 changed files with 27 additions and 4 deletions

View File

@@ -11,18 +11,18 @@
boot.initrd.kernelModules = [ ];
boot.kernelParams =
[ "intel_iommu=on" "modprobe.blacklist=dvb_usb_rtl28xxu" ];
boot.kernelModules = [ "kvm-intel" "vfio_pci" ];
boot.kernelModules = [ "kvm-intel" "vfio_pci" "vfio" "vfio_iommu_type1" "vfio_virqfd" ];
boot.extraModulePackages = [ ];
# 1050 passthrough
boot.extraModprobeConfig = ""
# + "options vfio-pci ids=10de:1c81,10de:0fb9\n"
+ "options vfio-pci ids=10de:1c81,10de:0fb9\n"
+ ''
options hid_apple fnmode=2
'';
# hid_apple -> remove AK68 keyboard F1-F12 not pressing issue
boot.kernel.sysctl = { "hid_apple.fnmode" = 2; };
boot.kernel.sysctl = { "hid_apple.fnmode" = 2; "net.ipv4.ip_unprivileged_port_start" = 80; };
fileSystems."/" = {
device = "/dev/disk/by-uuid/4e08142c-1b09-4265-a497-822e4a83d4c8";