Working bigbox nvidia

This commit is contained in:
ari committed 2024-12-08 15:04:49 -05:00
1 parent a4e437baf1
commit 888fc8a629
2 files changed
+5 -1

No files matched your search

+1
View File
@@ -90,6 +90,7 @@ in
port = 11434;
acceleration = "rocm";
package = unstable.ollama;
rocmOverrideGfx = "11.0.2";
};
# # Brother Printer
hardware.sane.brscan5.enable = true;
+4 -1
View File
@@ -11,6 +11,9 @@ in
};
config = lib.mkIf cfg.enable {
boot.kernel.sysctl = {
"net.core.bpf_jit_harden" = 1; # https://github.com/NVIDIA/libnvidia-container/issues/176#issuecomment-2101166824
};
# Nvidia Settings
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia-container-toolkit.enable = true;
@@ -24,7 +27,7 @@ in
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
# package = config.boot.kernelPackages.nvidiaPackages.stable;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
};
}