From c96a9ec1747aced6e9db56ec7ebd86322719a920 Mon Sep 17 00:00:00 2001 From: alsaiduq-lab Date: Thu, 14 Aug 2025 20:42:53 -0600 Subject: [PATCH] updates --- flake.lock | 38 +++++++++++++++++++------------------- hosts/modules/boot.nix | 2 +- hosts/modules/core.nix | 2 ++ hosts/modules/env.nix | 6 ++++++ 4 files changed, 28 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index a430f62..d00898c 100644 --- a/flake.lock +++ b/flake.lock @@ -21,11 +21,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1753121425, - "narHash": "sha256-TVcTNvOeWWk1DXljFxVRp+E0tzG1LhrVjOGGoMHuXio=", + "lastModified": 1754487366, + "narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "644e0fc48951a860279da645ba77fe4a6e814c5e", + "rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18", "type": "github" }, "original": { @@ -99,11 +99,11 @@ "i3-dotfiles": { "flake": false, "locked": { - "lastModified": 1752339334, - "narHash": "sha256-Dlsi0iXQF8nU2fUfpgF+eHsbxou/ns+12Dbu54qAncw=", + "lastModified": 1754937929, + "narHash": "sha256-yVq6tSNi3L7KLoIaHJeTxrx2bli+6hqVhXRDkE528nE=", "ref": "refs/heads/master", - "rev": "215ec980ba4fe08fbd57f4716c049365b0c2b200", - "revCount": 7, + "rev": "401c85b3dc19866c983a81dfc1c1b6c02b334073", + "revCount": 8, "type": "git", "url": "ssh://git@github.com/alsaiduq-lab/i3-dotfiles" }, @@ -120,11 +120,11 @@ ] }, "locked": { - "lastModified": 1753582293, - "narHash": "sha256-CimzlksXOfuPcLr4ye/s4hwZhHk98f0gnXB6Dq9RhZo=", + "lastModified": 1755050545, + "narHash": "sha256-DPdNnDwDvGWn/AZ8B3G95o8EIM4/ewIfgTgR+Rlul9o=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "ceb9d44f09b0db02332873247a50210a486959ff", + "rev": "064757499f6d48e343552e328eb757a30fa6d17a", "type": "github" }, "original": { @@ -148,11 +148,11 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1751159883, - "narHash": "sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo=", + "lastModified": 1753579242, + "narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=", "owner": "nix-community", "repo": "nixpkgs.lib", - "rev": "14a40a1d7fb9afa4739275ac642ed7301a9ba1ab", + "rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e", "type": "github" }, "original": { @@ -163,11 +163,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1753345091, - "narHash": "sha256-CdX2Rtvp5I8HGu9swBmYuq+ILwRxpXdJwlpg8jvN4tU=", + "lastModified": 1754937576, + "narHash": "sha256-3sWA5WJybUE16kIMZ3+uxcxKZY/JRR4DFBqLdSLBo7w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3ff0e34b1383648053bba8ed03f201d3466f90c9", + "rev": "ddae11e58c0c345bf66efbddbf2192ed0e58f896", "type": "github" }, "original": { @@ -204,11 +204,11 @@ }, "unstable": { "locked": { - "lastModified": 1753432016, - "narHash": "sha256-cnL5WWn/xkZoyH/03NNUS7QgW5vI7D1i74g48qplCvg=", + "lastModified": 1755020227, + "narHash": "sha256-gGmm+h0t6rY88RPTaIm3su95QvQIVjAJx558YUG4Id8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6027c30c8e9810896b92429f0092f624f7b1aace", + "rev": "695d5db1b8b20b73292501683a524e0bd79074fb", "type": "github" }, "original": { diff --git a/hosts/modules/boot.nix b/hosts/modules/boot.nix index 0ffea32..542f93c 100644 --- a/hosts/modules/boot.nix +++ b/hosts/modules/boot.nix @@ -11,7 +11,7 @@ tmp = { cleanOnBoot = true; }; - kernelPackages = pkgs.linuxPackages_zen; + kernelPackages = pkgs.linuxPackages; }; system.activationScripts.binbash = { diff --git a/hosts/modules/core.nix b/hosts/modules/core.nix index f619b32..0f02d39 100644 --- a/hosts/modules/core.nix +++ b/hosts/modules/core.nix @@ -24,5 +24,7 @@ libtool nasm nix-prefetch-git + icu + libclang ]; } diff --git a/hosts/modules/env.nix b/hosts/modules/env.nix index 3236acd..4c3a8d6 100644 --- a/hosts/modules/env.nix +++ b/hosts/modules/env.nix @@ -16,6 +16,7 @@ CC = "${pkgs.gcc}/bin/gcc"; LUA_PATH = "${pkgs.luajit}/share/lua/5.1/?.lua;${pkgs.luajit}/share/lua/5.1/?/init.lua;;"; LUA_CPATH = "${pkgs.luajit}/lib/lua/5.1/?.so;;"; + PKG_CONFIG_PATH = lib.makeSearchPath "lib/pkgconfig" [ pkgs.mesa pkgs.openssl.dev @@ -28,6 +29,7 @@ pkgs.xorg.libXtst pkgs.xorg.libXi.dev ]; + LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.libglvnd pkgs.mesa @@ -43,6 +45,10 @@ pkgs.xorg.libXi pkgs.glib ]; + + CUDA_HOME = "${pkgs.cudatoolkit}"; + CPATH = "${pkgs.cudatoolkit}/include"; + LIBCLANG_PATH = "${pkgs.llvmPackages.libclang}/lib"; }; environment.pathsToLink = [