mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
123
This commit is contained in:
@@ -3,11 +3,22 @@
|
||||
lib,
|
||||
pkgs,
|
||||
xlib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
work = import inputs.nixpkgs-master { system = "x86_64-linux"; };
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.openai-whisper
|
||||
work.openai-whisper
|
||||
|
||||
# (work.openai-whisper.override {
|
||||
# torch = pkgs.python313Packages.torch-bin; # Используй бинарный torch с ROCm, чтобы обойти сборочную хуйню
|
||||
# })
|
||||
];
|
||||
#hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ];
|
||||
# systemd.tmpfiles.rules = ["L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"];
|
||||
# hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ];
|
||||
|
||||
nixpkgs.config.rocmSupport = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user