~ruther/nixos-config

ref: b30924d5143bd1856f50efaaa7e31a2d5f4d98ed nixos-config/modules/hardware/rocm/default.nix -rw-r--r-- 268 bytes
b30924d5 — Frantisek Bohacek chore: use empty string for empty flake-registry 1 year, 7 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
  ];
}