From ee4794859a9f2bb6178cfac5abafcfded0c017d1 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 2 Apr 2026 22:02:40 -0400 Subject: [PATCH] Update packages. --- nix/configuration/configuration.nix | 8 +++++++- nix/configuration/flake.lock | 12 ++++++------ nix/configuration/roles/optimized_build/default.nix | 10 ++++++++-- nix/configuration/roles/recovery/default.nix | 2 +- 4 files changed, 22 insertions(+), 10 deletions(-) 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..c098f66b 100644 --- a/nix/configuration/flake.lock +++ b/nix/configuration/flake.lock @@ -22,11 +22,11 @@ ] }, "locked": { - "lastModified": 1769524058, - "narHash": "sha256-zygdD6X1PcVNR2PsyK4ptzrVEiAdbMqLos7utrMDEWE=", + "lastModified": 1773889306, + "narHash": "sha256-PAqwnsBSI9SVC2QugvQ3xeYCB0otOwCacB1ueQj2tgw=", "owner": "nix-community", "repo": "disko", - "rev": "71a3fc97d80881e91710fe721f1158d3b96ae14d", + "rev": "5ad85c82cc52264f4beddc934ba57f3789f28347", "type": "github" }, "original": { @@ -164,11 +164,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1770197578, - "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", + "lastModified": 1775036866, + "narHash": "sha256-ZojAnPuCdy657PbTq5V0Y+AHKhZAIwSIT2cb8UgAz/U=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", + "rev": "6201e203d09599479a3b3450ed24fa81537ebc4e", "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 ]; }) ]