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 = [ imports = [
(./. + "/${xlib.device.type}.nix") (./. + "/${xlib.device.type}.nix")
]; ];
@@ -47,6 +48,7 @@ let
users."${xlib.device.username}" = homeModule; users."${xlib.device.username}" = homeModule;
users.root = rootModule; users.root = rootModule;
sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ]; sharedModules = [ inputs.plasma-manager.homeManagerModules.plasma-manager ];
extraSpecialArgs = { inherit inputs; };
}; };
}; };
in in
+3 -1
View File
@@ -2,10 +2,12 @@
config, config,
pkgs, pkgs,
xlib, xlib,
inputs,
... ...
}: }:
let let
grampsPath = "${xlib.dirs.wsl-storage}/gramps"; grampsPath = "${xlib.dirs.wsl-storage}/gramps";
last-stable = import inputs.nixpkgs-last-unstable { system = "x86_64-linux"; };
in in
{ {
xdg = { xdg = {
@@ -23,6 +25,6 @@ in
}; };
}; };
home.packages = [ home.packages = [
pkgs.gramps last-stable.gramps
]; ];
} }
+1
View File
@@ -2,6 +2,7 @@
config, config,
pkgs, pkgs,
xlib, xlib,
inputs,
... ...
}: }:
let let
+2 -2
View File
@@ -32,8 +32,8 @@ let
hardware = { hardware = {
graphics.enable = true; graphics.enable = true;
amdgpu.opencl.enable = true; # amdgpu.opencl.enable = true;
amdgpu.amdvlk.enable = true; # amdgpu.amdvlk.enable = true;
}; };
networking = { networking = {
+1 -1
View File
@@ -14,7 +14,7 @@
"https://cache.nixos.org" "https://cache.nixos.org"
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
"https://nixos-cache-proxy.cofob.dev" # https://gist.github.com/cofob/9b1fd205e6d961a45c225ae9f0af1394 "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 = [ trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
+5 -5
View File
@@ -6,12 +6,12 @@
inputs, inputs,
... ...
}: }:
let # let
work = import inputs.nixpkgs-master { system = "x86_64-linux"; }; # work = import inputs.nixpkgs-master { system = "x86_64-linux"; };
in # in
{ {
environment.systemPackages = [ environment.systemPackages = [
work.openai-whisper pkgs.openai-whisper
# (work.openai-whisper.override { # (work.openai-whisper.override {
# torch = pkgs.python313Packages.torch-bin; # Используй бинарный torch с ROCm, чтобы обойти сборочную хуйню # torch = pkgs.python313Packages.torch-bin; # Используй бинарный torch с ROCm, чтобы обойти сборочную хуйню
@@ -20,5 +20,5 @@ in
# systemd.tmpfiles.rules = ["L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"]; # systemd.tmpfiles.rules = ["L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"];
# hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ]; # hardware.graphics.extraPackages = with pkgs.rocmPackages; [ clr clr.icd ];
nixpkgs.config.rocmSupport = true; #nixpkgs.config.rocmSupport = true;
} }