~ruther/nixos-config

ref: 230107faaab88327fb8039a6e73eb1f57e6624e0 nixos-config/modules/hardware/rocm/default.nix -rw-r--r-- 268 bytes
230107fa — Frantisek Bohacek feat: add comma program 2 years 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
  ];
}