This commit is contained in:
2025-08-22 19:21:00 +03:00
parent c995d8baf8
commit 56763644e3
4 changed files with 43 additions and 18 deletions
+13 -2
View File
@@ -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;
}