From f55ff734dec9e56fc57bb10a49e5bcf9b3d68d48 Mon Sep 17 00:00:00 2001 From: James Eversole Date: Sun, 8 Mar 2026 10:17:13 -0500 Subject: [PATCH] Flake update; hanging issue troubleshooting --- flake.lock | 24 ++++++++++++------------ nix/system/system.nix | 16 +++++++++++++++- 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index 7a2c3cf..259b8d4 100644 --- a/flake.lock +++ b/flake.lock @@ -202,11 +202,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1765938481, - "narHash": "sha256-Pck7/jhaoYAUM9M0nWR/dwYEVwXXNP2bzB4+XtZBmno=", + "lastModified": 1772578082, + "narHash": "sha256-H4PLUC9xb2kdDs4r/VaiRq7rrK/gM+WFuHnRIP78H+U=", "owner": "aristanetworks", "repo": "nix-serve-ng", - "rev": "8ce0104efdf7f72e5a371bc48613084673b23cc0", + "rev": "e8218eb1c912a800ea77ae7edd71db4ee379a7dd", "type": "github" }, "original": { @@ -341,11 +341,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1769909678, - "narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=", + "lastModified": 1772328832, + "narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "72716169fe93074c333e8d0173151350670b824c", + "rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742", "type": "github" }, "original": { @@ -468,11 +468,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1772047000, - "narHash": "sha256-7DaQVv4R97cii/Qdfy4tmDZMB2xxtyIvNGSwXBBhSmo=", + "lastModified": 1772822230, + "narHash": "sha256-yf3iYLGbGVlIthlQIk5/4/EQDZNNEmuqKZkQssMljuw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1267bb4920d0fc06ea916734c11b0bf004bbe17e", + "rev": "71caefce12ba78d84fe618cf61644dce01cf3a96", "type": "github" }, "original": { @@ -486,11 +486,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1769996383, - "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", + "lastModified": 1772408722, + "narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "57928607ea566b5db3ad13af0e57e921e6b12381", + "rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3", "type": "github" }, "original": { diff --git a/nix/system/system.nix b/nix/system/system.nix index d92ad3e..3436a5b 100644 --- a/nix/system/system.nix +++ b/nix/system/system.nix @@ -1,6 +1,12 @@ { pkgs, ... }: { boot = { - kernel.sysctl."net.ipv4.ip_forward" = true; + kernel.sysctl = { + "kernel.sysrq" = 1; + "kernel.hung_task_timeout_secs" = 120; + "kernel.hung_task_panic" = 0; + "net.ipv4.ip_forward" = true; + }; + kernelParams = ["nvme_core.default_ps_max_latency_us=0"]; loader.systemd-boot.enable = true; loader.efi.canTouchEfiVariables = true; }; @@ -21,5 +27,13 @@ zsh.enable = true; }; + services = { + journald.extraConfig = '' + Storage=persistent + SystemMaxUse=2G + RuntimeMaxUse=512M + ''; + }; + time.timeZone = "America/Chicago"; }