~ruther/nixos-config

ref: f1797fd30af8823865c74f4ae598c994650e3b6c nixos-config/modules/hardware/rocm/default.nix -rw-r--r-- 268 bytes
f1797fd3 — Frantisek Bohacek feat: some more services start only with qtile 1 year, 9 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
  ];
}