~ruther/nixos-config

ref: b095bbd13fb6c567aeb0e91eb0ea1b0ca0c056a3 nixos-config/modules/hardware/rocm/default.nix -rw-r--r-- 268 bytes
b095bbd1 — Frantisek Bohacek chore: update 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, nixpkgs, lib, pkgs, ... }:

{
  systemd.tmpfiles.rules = [
    "L+    /opt/rocm/hip   -    -    -     -    ${pkgs.rocmPackages.clr}"
  ];

  # nixpkgs.config.rocmSupport = true;

  hardware.opengl.extraPackages = with pkgs; [
    rocmPackages.clr.icd
  ];
}
Do not follow this link