integrate htpc and associated configuration

This commit is contained in:
k3t
2026-06-01 20:33:57 -06:00
parent 8209672944
commit db7a8a3f6e
21 changed files with 289 additions and 33 deletions
+5
View File
@@ -1,6 +1,11 @@
{ pkgs, ... }:
{
boot.kernelParams = [
"split_lock_detect=off"
"scsi_mod.use_blk_mq=1"
"transparent_hugepage=madvise" # CachyOS default
];
boot.loader.limine.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.extraModulePackages = [ ];
+1
View File
@@ -1,6 +1,7 @@
{ pkgs, ... }:
{
hardware.cpu.amd.updateMicrocode = true;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.binfmt.preferStaticEmulators = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" "x86_64-windows" ];
+1
View File
@@ -1,6 +1,7 @@
{ pkgs, ... }:
{
hardware.cpu.intel.updateMicrocode = true;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
boot.binfmt.preferStaticEmulators = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" "x86_64-windows" ];
+10 -1
View File
@@ -1,3 +1,12 @@
{ pkgs, ... }:
{
# Graphics
hardware.enableRedistributableFirmware = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
vkbasalt
];
};
}
+2 -1
View File
@@ -14,7 +14,8 @@
# 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
libvdpau-va-gl # Only if you must run VDPAU-only apps
vkbasalt
];
};
}