feat(halo): enable hw graphics
This commit is contained in:
parent
b85719077d
commit
c24572c318
1 changed files with 28 additions and 14 deletions
|
|
@ -18,6 +18,19 @@ with lib.metacfg;
|
|||
8000
|
||||
];
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
|
||||
extraPackages =
|
||||
[ ]
|
||||
++ lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
with pkgs;
|
||||
[
|
||||
rocmPackages.clr.icd
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules =
|
||||
let
|
||||
rocmEnv = pkgs.symlinkJoin {
|
||||
|
|
@ -28,7 +41,8 @@ with lib.metacfg;
|
|||
clr
|
||||
];
|
||||
};
|
||||
in [
|
||||
in
|
||||
[
|
||||
"L+ /opt/rocm - - - - ${rocmEnv}"
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue