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
+2
View File
@@ -9,6 +9,7 @@ let
...
}:
{
imports = [
(./. + "/${xlib.device.type}.nix")
];
@@ -47,6 +48,7 @@ let
users."${xlib.device.username}" = homeModule;
users.root = rootModule;
sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
extraSpecialArgs = { inherit inputs; };
};
};
in
+3 -1
View File
@@ -2,10 +2,12 @@
config,
pkgs,
xlib,
inputs,
...
}:
let
grampsPath = "${xlib.dirs.wsl-storage}/gramps";
last-stable = import inputs.nixpkgs-last-unstable { system = "x86_64-linux"; };
in
{
xdg = {
@@ -23,6 +25,6 @@ in
};
};
home.packages = [
pkgs.gramps
last-stable.gramps
];
}
+1
View File
@@ -2,6 +2,7 @@
config,
pkgs,
xlib,
inputs,
...
}:
let
+2 -2
View File
@@ -32,8 +32,8 @@ let
hardware = {
graphics.enable = true;
amdgpu.opencl.enable = true;
amdgpu.amdvlk.enable = true;
# amdgpu.opencl.enable = true;
# amdgpu.amdvlk.enable = true;
};
networking = {
+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;
}