~ruther/nixos-config

ref: be6e522cbc40019d66d968cc55092c807db59a1d nixos-config/modules/hardware/rocm/default.nix -rw-r--r-- 268 bytes
be6e522c — Frantisek Bohacek fix: do not download global-registry.json on every nix command... 1 year, 10 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
  ];
}