This commit is contained in:
2025-07-31 11:50:13 +03:00
parent ada3eb2cd7
commit 83e7d98aa8
2 changed files with 31 additions and 5 deletions
+20 -1
View File
@@ -10,6 +10,13 @@
}:
{
nix.settings.extra-sandbox-paths = [
"/dev/kfd"
"/sys/devices/virtual/kfd"
"/dev/dri/renderD128"
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
@@ -24,10 +31,22 @@
"usbhid"
"sd_mod"
];
kernelModules = [ "kvm-amd" ];
kernelModules = [ "kvm-amd" "amdgpu" ];
extraModulePackages = [ ];
};
hardware.graphics.extraPackages = with pkgs; [
rocmPackages.clr.icd
amdvlk
];
systemd.tmpfiles.rules = [
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
];
#
# environment.systemPackages = with pkgs; [
# clinfo
# ];
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/5938c796-6ff5-49d9-a3a6-022b4c32beeb";