Current working config - w/firewall back open for debugging and some CL/video changes
This commit is contained in:
parent
e5cb49c43f
commit
12f52dab74
2 changed files with 29 additions and 9 deletions
|
@ -36,10 +36,16 @@
|
|||
# { device = "/dev/disk/by-uuid/xxxx";
|
||||
# fsType = "etx4";
|
||||
# };
|
||||
|
||||
boot.initrd.luks.devices."nvme2n1p2_oldcrypt".device = "/dev/disk/by-uuid/44235dca-99e8-4ea8-9516-97d9f5a2d702";
|
||||
|
||||
# Temporarily pin to 6.12 to fix llvm/rocm build
|
||||
# https://github.com/NixOS/nixpkgs/issues/368672#issuecomment-2608697421
|
||||
# boot.kernelPackages = pkgs.linuxPackages_6_12;
|
||||
|
||||
boot.kernelModules = [ "kvm-amd" "nct6775" ];
|
||||
|
||||
# Direct patching for enabling for async reprojection (steamvr)
|
||||
# Direct patching for enabling for async reprojection (steamvr) on AMD
|
||||
boot.kernelPatches = [
|
||||
{
|
||||
name = "amdgpu-ignore-ctx-privileges";
|
||||
|
@ -167,7 +173,7 @@
|
|||
|
||||
# For xdebug...verify actual necessity
|
||||
# Have had to use this, but I think it can be disabled still - perhaps w/xdebug binding setting...don't know.
|
||||
#networking.firewall.allowedTCPPorts = [ 9003 ];
|
||||
networking.firewall.allowedTCPPorts = [ 9003 ];
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
@ -292,14 +298,28 @@
|
|||
|
||||
# RX 6700 XT setup
|
||||
hardware.graphics.extraPackages = [
|
||||
pkgs.rocmPackages.clr.icd
|
||||
pkgs.amdvlk
|
||||
pkgs.libcap
|
||||
pkgs.libva
|
||||
pkgs.mesa
|
||||
pkgs.rocmPackages.clr.icd
|
||||
#pkgs.pcre2
|
||||
#pkgs.libselinux
|
||||
#pkgs.rocmPackages.rocblas
|
||||
#pkgs.rocmPackages.rocm-smi
|
||||
#pkgs.rocmPackages.rocminfo
|
||||
#pkgs.rocmPackages.hipblas
|
||||
#pkgs.rocmPackages.rocm-device-libs
|
||||
#pkgs.rocmPackages.rpp
|
||||
];
|
||||
|
||||
# To enable Vulkan support for 32-bit applications, also add:
|
||||
hardware.graphics.extraPackages32 = [
|
||||
pkgs.driversi686Linux.amdvlk
|
||||
];
|
||||
|
||||
hardware.amdgpu.opencl.enable = true;
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue