diff --git a/configuration.nix b/configuration.nix index 743ec49..3416ead 100644 --- a/configuration.nix +++ b/configuration.nix @@ -67,6 +67,8 @@ hardware.graphics = { enable = true; enable32Bit = true; + # Add OpenCL support for CPU-based operations + extraPackages = with pkgs; [ pocl ]; }; # Enable keyd for key remapping @@ -139,7 +141,7 @@ users.users.jet = { isNormalUser = true; description = "Jet"; - extraGroups = [ "networkmanager" "wheel" "docker" ]; + extraGroups = [ "networkmanager" "wheel" "docker" "video" "render" ]; }; # Allow unfree packages diff --git a/flake.lock b/flake.lock index a324e85..0afd1fe 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1757256385, - "narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=", + "lastModified": 1757910558, + "narHash": "sha256-qD2UBG+JfmIE50OmjumOQZ73LKUacxO7uq2hxkna0rA=", "owner": "nix-community", "repo": "home-manager", - "rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37", + "rev": "5e06d0f1844bd150e7813368b06f32b03c816a0d", "type": "github" }, "original": { @@ -43,11 +43,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1757103352, - "narHash": "sha256-PtT7ix43ss8PONJ1VJw3f6t2yAoGH+q462Sn8lrmWmk=", + "lastModified": 1757891025, + "narHash": "sha256-NfiTk59huy/YK9H4W4wVwRYyiP2u86QqROM5KK4f5F4=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "11b2a10c7be726321bb854403fdeec391e798bf0", + "rev": "4c38a024fa32e61db2be8573e5282b15d9733a79", "type": "github" }, "original": { @@ -58,11 +58,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1757068644, - "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", + "lastModified": 1757745802, + "narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=", "owner": "nixos", "repo": "nixpkgs", - "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9", + "rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1", "type": "github" }, "original": { @@ -88,11 +88,11 @@ ] }, "locked": { - "lastModified": 1757308755, - "narHash": "sha256-daEx9piqNWMVsfJx91O2lKtSTPUXnanS755M1oo5zLU=", + "lastModified": 1757900278, + "narHash": "sha256-Cnx4ZB6CNYnCkTE49z/IWNbaR2l42n9aITIaMzHmunk=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "36f0082103e6a4f3ec51e5c48a4c79426c8c6853", + "rev": "a6fd725c7c9ceab921aa3e88963391b4c9336a0c", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index 8dfd2aa..3fd5593 100644 --- a/home.nix +++ b/home.nix @@ -84,8 +84,25 @@ nmap handbrake orca-slicer + # OpenCL runtime and hashcat for password recovery + hashcat + pocl # Portable Computing Language - better for AMD CPUs + ocl-icd # OpenCL Installable Client Driver + clinfo # OpenCL information tool for debugging + fontforge-gtk ]; + # OpenCL configuration for hashcat using PoCL + home.file.".config/OpenCL/vendors/pocl.icd".text = '' + ${pkgs.pocl}/lib/libpocl.so + ''; + + # Set environment variables for OpenCL + home.sessionVariables = { + OCL_ICD_VENDORS = "/etc/OpenCL/vendors"; + POCL_DEVICES = "cpu"; + }; + programs.helix = { enable = true; defaultEditor = true;