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
12
flake.lock
generated
12
flake.lock
generated
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737480538,
|
"lastModified": 1736089250,
|
||||||
"narHash": "sha256-rk/cmrvq3In0TegW9qaAxw+5YpJhRWt2p74/6JStrw0=",
|
"narHash": "sha256-/LPWMiiJGPHGd7ZYEgmbE2da4zvBW0acmshUjYC3WG4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "4481a16d1ac5bff4a77c608cefe08c9b9efe840d",
|
"rev": "172b91bfb2b7f5c4a8c6ceac29fd53a01ef07196",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -22,11 +22,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737469691,
|
"lastModified": 1736012469,
|
||||||
"narHash": "sha256-nmKOgAU48S41dTPIXAq0AHZSehWUn6ZPrUKijHAMmIk=",
|
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9e4d5190a9482a1fb9d18adf0bdb83c6e506eaab",
|
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -36,10 +36,16 @@
|
||||||
# { device = "/dev/disk/by-uuid/xxxx";
|
# { device = "/dev/disk/by-uuid/xxxx";
|
||||||
# fsType = "etx4";
|
# fsType = "etx4";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
boot.initrd.luks.devices."nvme2n1p2_oldcrypt".device = "/dev/disk/by-uuid/44235dca-99e8-4ea8-9516-97d9f5a2d702";
|
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" ];
|
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 = [
|
boot.kernelPatches = [
|
||||||
{
|
{
|
||||||
name = "amdgpu-ignore-ctx-privileges";
|
name = "amdgpu-ignore-ctx-privileges";
|
||||||
|
@ -167,7 +173,7 @@
|
||||||
|
|
||||||
# For xdebug...verify actual necessity
|
# 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.
|
# 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
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
@ -292,14 +298,28 @@
|
||||||
|
|
||||||
# RX 6700 XT setup
|
# RX 6700 XT setup
|
||||||
hardware.graphics.extraPackages = [
|
hardware.graphics.extraPackages = [
|
||||||
pkgs.rocmPackages.clr.icd
|
|
||||||
pkgs.amdvlk
|
pkgs.amdvlk
|
||||||
|
pkgs.libcap
|
||||||
pkgs.libva
|
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:
|
# To enable Vulkan support for 32-bit applications, also add:
|
||||||
hardware.graphics.extraPackages32 = [
|
hardware.graphics.extraPackages32 = [
|
||||||
pkgs.driversi686Linux.amdvlk
|
pkgs.driversi686Linux.amdvlk
|
||||||
];
|
];
|
||||||
|
|
||||||
|
hardware.amdgpu.opencl.enable = true;
|
||||||
|
|
||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
|
|
Loading…
Add table
Reference in a new issue