refactor everything holy fuck

This commit is contained in:
k3t
2026-06-01 18:15:26 -06:00
parent 40d1c7f1e1
commit f9bbbcf96f
46 changed files with 696 additions and 387 deletions
+9
View File
@@ -0,0 +1,9 @@
{ pkgs, ... }:
{
boot.loader.limine.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
}
+5
View File
@@ -0,0 +1,5 @@
{
boot.binfmt.preferStaticEmulators = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" "x86_64-windows" ];
boot.kernelModules = [ "kvm-amd" ];
}
+4
View File
@@ -0,0 +1,4 @@
{
boot.binfmt.preferStaticEmulators = true;
boot.binfmt.emulatedSystems = [ "x86_64-linux" "i386-linux" ];
}
+5
View File
@@ -0,0 +1,5 @@
{
boot.binfmt.preferStaticEmulators = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" "x86_64-windows" ];
boot.kernelModules = [ "kvm-intel" ];
}
+3
View File
@@ -0,0 +1,3 @@
{
}
+20
View File
@@ -0,0 +1,20 @@
{ pkgs, ... }:
{
boot.kernelParams = [ "i915.enable_guc=3" ];
# Graphics
hardware.enableRedistributableFirmware = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
# Required for modern Intel GPUs (Xe iGPU and ARC)
intel-media-driver # VA-API (iHD) userspace
vpl-gpu-rt # oneVPL (QSV) runtime
# Optional (compute / tooling):
intel-compute-runtime # OpenCL (NEO) + Level Zero for Arc/Xe
# NOTE: 'intel-ocl' also exists as a legacy package; not recommended for Arc/Xe.
# libvdpau-va-gl # Only if you must run VDPAU-only apps
];
};
}