This commit is contained in:
2025-08-28 18:19:50 +03:00
parent 002abaafe7
commit 7a6adb28ee
6 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
"https://cache.nixos.org"
"https://nix-community.cachix.org"
"https://nixos-cache-proxy.cofob.dev" # https://gist.github.com/cofob/9b1fd205e6d961a45c225ae9f0af1394
"https://nixos.snix.store" # https://nixos.snix.store/
#"https://nixos.snix.store" # https://nixos.snix.store/
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
+5 -5
View File
@@ -6,12 +6,12 @@
inputs,
...
}:
let
work = import inputs.nixpkgs-master { system = "x86_64-linux"; };
in
# let
# work = import inputs.nixpkgs-master { system = "x86_64-linux"; };
# in
{
environment.systemPackages = [
work.openai-whisper
pkgs.openai-whisper
# (work.openai-whisper.override {
# torch = pkgs.python313Packages.torch-bin; # Используй бинарный torch с ROCm, чтобы обойти сборочную хуйню
@@ -20,5 +20,5 @@ in
# systemd.tmpfiles.rules = ["L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"];
# hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ];
nixpkgs.config.rocmSupport = true;
#nixpkgs.config.rocmSupport = true;
}