This commit is contained in:
2026-08-24 10:39:58 +01:00
parent 076cb011ac
commit a3b49b8960
6 changed files with 56 additions and 51 deletions
+8 -8
View File
@@ -126,14 +126,14 @@
boot.binfmt.emulatedSystems = [ boot.binfmt.emulatedSystems = [
"aarch64-linux" "aarch64-linux"
]; ];
services.scx = { # services.scx = {
enable = true; # enable = true;
package = pkgs.scx.rustscheds; # package = pkgs.scx.rustscheds;
}; # };
systemd.services.scx.environment = { # systemd.services.scx.environment = {
SCX_SCHEDULER_OVERRIDE = "scx_lavd"; # SCX_SCHEDULER_OVERRIDE = "scx_lavd";
SCX_FLAGS_OVERRIDE = "--performance --no-core-compaction"; # SCX_FLAGS_OVERRIDE = "--performance --no-core-compaction";
}; # };
systemd.oomd = { systemd.oomd = {
enable = true; enable = true;
enableUserSlices = true; enableUserSlices = true;
+10 -4
View File
@@ -93,16 +93,22 @@
intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; }; intel-vaapi-driver = pkgs.intel-vaapi-driver.override { enableHybridCodec = true; };
}; };
hardware = { 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 = { graphics = {
enable = true; 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; [ extraPackages = with pkgs; [
]; ];
}; };
}; };
environment.sessionVariables = { # NOTE: removed LIBVA_DRIVER_NAME="iHD" — that forces the Intel media
LIBVA_DRIVER_NAME = "iHD"; # driver and is wrong on Qualcomm Adreno (aarch64).
}; # Force intel-media-driver
# services.fwupd = { # services.fwupd = {
# enable = true; # enable = true;
-1
View File
@@ -43,7 +43,6 @@
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ pkgs.vulkan-loader ]}" \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ pkgs.vulkan-loader ]}" \
--add-flags "--enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks" \ --add-flags "--enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks" \
--add-flags "--ignore-gpu-blocklist" \ --add-flags "--ignore-gpu-blocklist" \
--add-flags "--disable-gpu-sandbox"
''; '';
}; };
in in
+2 -2
View File
@@ -17,8 +17,8 @@
}; };
# Most energy efficent scheduler setup.. # Most energy efficent scheduler setup..
systemd.services.scx.environment = { systemd.services.scx.environment = {
SCX_SCHEDULER_OVERRIDE = "scx_lavd"; # SCX_SCHEDULER_OVERRIDE = "scx_lavd";
SCX_FLAGS_OVERRIDE = "--powersave --no-core-compaction"; # SCX_FLAGS_OVERRIDE = "--powersave --no-core-compaction";
}; };
}; };
}; };
+1 -1
View File
@@ -63,7 +63,7 @@
enable = false; enable = false;
}; };
video = { video = {
enable = false; enable = true;
}; };
}; };
Generated
+26 -26
View File
@@ -502,11 +502,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1787379775, "lastModified": 1787487906,
"narHash": "sha256-XL2qfqmocfsvuEGyomZg4nOZfkuSe8vZtrOX99I+b6I=", "narHash": "sha256-zIdM+8teujHm5hc5MIPDnV7k2UeOOT/pFyFtWjOCwsY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ec1a8fdf74ed3f276148ee106299a2ba0e65d51f", "rev": "cfba7ad5886b342b8dd63ba74354b3853ea4cfc9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -590,11 +590,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1787414731, "lastModified": 1787505664,
"narHash": "sha256-2pNVmrgGHj32NCqgrPqhJAyRxavFYoNtklC5QAHkoT0=", "narHash": "sha256-ds9J1/RBDzgSFtb20+MbXS/v8xA7TLRh7YSnD6cWSgY=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "6ffae9c5aa0381bf4b65f898fdfae6ac332ab057", "rev": "951ab550e7ea050e4b871f99faf87d99c601c44a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -988,11 +988,11 @@
"nixpkgs": "nixpkgs_7" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1787421204, "lastModified": 1787507561,
"narHash": "sha256-8Tlb8D07EvNJ37S7wPYn/+lZ/eBRIvfLvrne3pvjd2A=", "narHash": "sha256-7Hydh9RTatdMOVKgHno3ELWgsda1zeklSMGVWJqMiWs=",
"owner": "xddxdd", "owner": "xddxdd",
"repo": "nix-cachyos-kernel", "repo": "nix-cachyos-kernel",
"rev": "8b175fd266e94395ee7b1edc4578f7c8ecc74626", "rev": "dbae8dc454556968710401643aa2c6867d166440",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1153,11 +1153,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1787432083, "lastModified": 1787508648,
"narHash": "sha256-pPuywoFd2J2R1QByPIu1bwgCkWBkHp00qSEskUeifCY=", "narHash": "sha256-LQHsJp6rY6gIxEugrxup7mEF1AFBnFkVL9LN1YW/ajc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "14ccbf3f573231e80f55420ec4ab98cfe912a862", "rev": "3016297dcfbe46f73f8b0add912d630ed274ffd2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1265,11 +1265,11 @@
}, },
"nixpkgs_15": { "nixpkgs_15": {
"locked": { "locked": {
"lastModified": 1786599213, "lastModified": 1787360063,
"narHash": "sha256-yjGG65gA1jORt0hWxjzrnw3AYkIn8EWolp8vezwXZ3I=", "narHash": "sha256-95aJfHyQTLWslCXFVNB0odgmVkpdmDezQwTg9mhqV1E=",
"rev": "0e251e24a4f24e036a084b6b4b2d2491af4167f4", "rev": "2c423e03bbafcff28bfadc6781a4a8257f205cb5",
"type": "tarball", "type": "tarball",
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1053317.0e251e24a4f2/nixexprs.tar.xz" "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1059570.2c423e03bbaf/nixexprs.tar.xz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@@ -1355,11 +1355,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1787374233, "lastModified": 1787441254,
"narHash": "sha256-VZY8AkhbcDhxBSXsdUlHK7oS8ez5nJ2vzYzkkNI35ok=", "narHash": "sha256-/7oA/UPfrk0ubngvJjDleROuiNdA7y4d+5qNcDeQuCA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "731960f9bf65e7df135092590b2aa2f1407dcf0f", "rev": "ae9396d21aa0dcfe9419f6bdc3bf415eba30a8b7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1448,11 +1448,11 @@
"nixpkgs": "nixpkgs_13" "nixpkgs": "nixpkgs_13"
}, },
"locked": { "locked": {
"lastModified": 1787396669, "lastModified": 1787479506,
"narHash": "sha256-jV+wLME1duPt7TLVwxOlb90pPAS/8C3Qw7tHO5eLNfs=", "narHash": "sha256-wuWHiNQAs4tc1jjc54qW0IinI6yFusn9KPSXFXWSON0=",
"ref": "main", "ref": "main",
"rev": "04f5476f40ebcda5aa03a4c12a1f5eb9f65f9c4d", "rev": "8e0ad9a407dbbb3942919a50834afa7c430cd78a",
"revCount": 409, "revCount": 415,
"type": "git", "type": "git",
"url": "https://git.molez.org/mandlm/omp-nix" "url": "https://git.molez.org/mandlm/omp-nix"
}, },
@@ -1653,11 +1653,11 @@
"systems": "systems_5" "systems": "systems_5"
}, },
"locked": { "locked": {
"lastModified": 1786855359, "lastModified": 1787460061,
"narHash": "sha256-yeKMWFCPeoIKmPBLLvP1/15ulOJO8i9ZIlSSXGuW6aw=", "narHash": "sha256-r2FJY01jRVhrZIKPdhQ3QFYsAz3wjilWTMSSH7VMOeo=",
"owner": "Gerg-L", "owner": "Gerg-L",
"repo": "spicetify-nix", "repo": "spicetify-nix",
"rev": "0f478ff79b82abb785160cd4531293f61d21be86", "rev": "a8adfd6f9f341dd586d5c06dda3bbfa21c6014e7",
"type": "github" "type": "github"
}, },
"original": { "original": {