builder: try gpu computing but GPU doesnt support it

This commit is contained in:
2024-12-01 19:02:57 +01:00
parent a38299888f
commit 84b1a60fea
2 changed files with 50 additions and 17 deletions

View File

@ -6,6 +6,23 @@
{
imports = [ ./hardware-configuration.nix ];
# hardware.opengl = {
# enable = true;
# extraPackages = with pkgs; [
# rocmPackages.clr.icd
# linuxPackages.amdgpu-pro
# ];
# };
# boot.kernelParams = [
# "radeon.si_support=0"
# "radeon.cik_support=1"
# "amdgpu.si_support=0"
# "amdgpu.cik_support=1"
# ];
# boot.extraModulePackages = with config.boot.kernelPackages; [ amdgpu-pro ];
# boot.blacklistedKernelModules = [ "radeon" ];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
@ -65,16 +82,23 @@
vim
htop
mc
# # AMD GPU tools
# pciutils
# nvtopPackages.amd
# linuxPackages.amdgpu-pro
];
# services.ollama = {
# enable = true;
# acceleration = "cuda";
# };
# Ollama used by open-webui as llm backend
services.ollama = {
enable = true;
# acceleration = "rocm";
};
services.open-webui = {
enable = true;
port = 8080;
openFirewall = true;
host = "builder.julian-mutter.de";
};
services.openssh = {