things
This commit is contained in:
@@ -126,14 +126,14 @@
|
||||
boot.binfmt.emulatedSystems = [
|
||||
"aarch64-linux"
|
||||
];
|
||||
services.scx = {
|
||||
enable = true;
|
||||
package = pkgs.scx.rustscheds;
|
||||
};
|
||||
systemd.services.scx.environment = {
|
||||
SCX_SCHEDULER_OVERRIDE = "scx_lavd";
|
||||
SCX_FLAGS_OVERRIDE = "--performance --no-core-compaction";
|
||||
};
|
||||
# services.scx = {
|
||||
# enable = true;
|
||||
# package = pkgs.scx.rustscheds;
|
||||
# };
|
||||
# systemd.services.scx.environment = {
|
||||
# SCX_SCHEDULER_OVERRIDE = "scx_lavd";
|
||||
# SCX_FLAGS_OVERRIDE = "--performance --no-core-compaction";
|
||||
# };
|
||||
systemd.oomd = {
|
||||
enable = true;
|
||||
enableUserSlices = true;
|
||||
|
||||
@@ -93,16 +93,22 @@
|
||||
intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; };
|
||||
};
|
||||
hardware = {
|
||||
# firmware = [ pkgs.intel-npu-driver ];
|
||||
# Qualcomm Adreno X1-85 (freedreno/turnip) + IRIS need the qcom
|
||||
# firmware blobs (gen70500_sqe.fw / gmu.bin / zap.mbn). On most
|
||||
# Snapdragon X laptops these must be extracted from Windows unless
|
||||
# shipped by linux-firmware (e.g. ThinkPad T14s Gen 6).
|
||||
firmware = [ pkgs.linux-firmware ];
|
||||
graphics = {
|
||||
enable = true;
|
||||
# Adreno has no userspace driver package to add here: GL/Vulkan
|
||||
# (freedreno/turnip) come from mesa (auto-included), and IRIS video
|
||||
# has no usable VA-API backend yet, so extraPackages stays empty.
|
||||
extraPackages = with pkgs; [
|
||||
];
|
||||
};
|
||||
};
|
||||
environment.sessionVariables = {
|
||||
LIBVA_DRIVER_NAME = "iHD";
|
||||
}; # Force intel-media-driver
|
||||
# NOTE: removed LIBVA_DRIVER_NAME="iHD" — that forces the Intel media
|
||||
# driver and is wrong on Qualcomm Adreno (aarch64).
|
||||
|
||||
# services.fwupd = {
|
||||
# enable = true;
|
||||
|
||||
Reference in New Issue
Block a user