Added amd driver, rocm

This commit is contained in:
2025-08-31 20:23:43 -04:00
parent a4c5a10c4f
commit f5b3a04378

View File

@@ -153,8 +153,6 @@
}; };
}; };
fileSystems."/".neededForBoot = true;
# Public host ssh key (kept in sync with the private one) # Public host ssh key (kept in sync with the private one)
environment.etc."ssh/ssh_host_ed25519_key.pub".text = environment.etc."ssh/ssh_host_ed25519_key.pub".text =
"${keys.hosts.lazyworkhorse.main}"; "${keys.hosts.lazyworkhorse.main}";
@@ -164,6 +162,19 @@
services.zfs.autoSnapshot.enable = true; services.zfs.autoSnapshot.enable = true;
services.zfs.autoScrub.enable = true; services.zfs.autoScrub.enable = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
rocmPackages.clr
rocmPackages.rocblas
rocmPackages.rocrand
rocmPackages.rocminfo
rocmPackages.hipcc
rocmPackages.hiprt
];
};
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];