diff --git a/nix/configuration/configuration.nix b/nix/configuration/configuration.nix index 2bccc34d..74fa2282 100644 --- a/nix/configuration/configuration.nix +++ b/nix/configuration/configuration.nix @@ -224,7 +224,13 @@ (disableTests "coreutils-full") (disableTests "libuv") (final: prev: { - inherit (final.unoptimized) libtpms libjxl; + inherit (final.unoptimized) + libtpms + libjxl + ddrescueview + deno + mesa + ; }) (disableOptimizationsPython3 "scipy") # Works but probably sets python2's scipy to be python3: diff --git a/nix/configuration/flake.lock b/nix/configuration/flake.lock index 28ca666d..43d74ba0 100644 --- a/nix/configuration/flake.lock +++ b/nix/configuration/flake.lock @@ -22,11 +22,11 @@ ] }, "locked": { - "lastModified": 1769524058, - "narHash": "sha256-zygdD6X1PcVNR2PsyK4ptzrVEiAdbMqLos7utrMDEWE=", + "lastModified": 1776613567, + "narHash": "sha256-gC9Cp5ibBmGD5awCA9z7xy6MW6iJufhazTYJOiGlCUI=", "owner": "nix-community", "repo": "disko", - "rev": "71a3fc97d80881e91710fe721f1158d3b96ae14d", + "rev": "32f4236bfc141ae930b5ba2fb604f561fed5219d", "type": "github" }, "original": { @@ -164,11 +164,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1770197578, - "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", + "lastModified": 1776877367, + "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", + "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57", "type": "github" }, "original": { diff --git a/nix/configuration/roles/optimized_build/default.nix b/nix/configuration/roles/optimized_build/default.nix index d8a103be..3fc944da 100644 --- a/nix/configuration/roles/optimized_build/default.nix +++ b/nix/configuration/roles/optimized_build/default.nix @@ -79,9 +79,15 @@ in { linux_me = addConfig { - # Full preemption - PREEMPT = lib.mkOverride 60 lib.kernel.yes; + # Server | No preemption - Run until the next tick. Highest throughput but can cause stutter. + # PREEMPT = lib.mkOverride 60 lib.kernel.no; + # Desktop | Preempt kernel threads only at pre-defined places that call cond_resched(). PREEMPT_VOLUNTARY = lib.mkOverride 60 lib.kernel.no; + # Low-latency desktop | Full preemption - Kernel threads can be preempted unless they hold a spinlock or are in a no-preemption section. + PREEMPT = lib.mkOverride 60 lib.kernel.yes; + # RT - All kernel code is preemptible except for a few critical sections. + # Middle ground | Real-time tasks preempt immediately like FULL, normal tasks run until the next tick. + PREEMPT_LAZY = lib.mkOverride 90 lib.kernel.no; # Google's BBRv3 TCP congestion Control TCP_CONG_BBR = lib.kernel.yes; diff --git a/nix/configuration/roles/recovery/default.nix b/nix/configuration/roles/recovery/default.nix index 1c46e07b..14953642 100644 --- a/nix/configuration/roles/recovery/default.nix +++ b/nix/configuration/roles/recovery/default.nix @@ -29,7 +29,7 @@ } (lib.mkIf config.me.graphical { environment.systemPackages = with pkgs; [ - ddrescueview + #ddrescueview ]; }) ]