Working bigbox nvidia
This commit is contained in:
1 parent
a4e437baf1
commit
888fc8a629
2 files changed
+5
-1
No files matched your search
@@ -90,6 +90,7 @@ in
|
|||||||
port = 11434;
|
port = 11434;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
package = unstable.ollama;
|
package = unstable.ollama;
|
||||||
|
rocmOverrideGfx = "11.0.2";
|
||||||
};
|
};
|
||||||
# # Brother Printer
|
# # Brother Printer
|
||||||
hardware.sane.brscan5.enable = true;
|
hardware.sane.brscan5.enable = true;
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
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
|
# Nvidia Settings
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
hardware.nvidia-container-toolkit.enable = true;
|
hardware.nvidia-container-toolkit.enable = true;
|
||||||
@@ -24,7 +27,7 @@ in
|
|||||||
powerManagement.finegrained = false;
|
powerManagement.finegrained = false;
|
||||||
open = false;
|
open = false;
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
# package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user