Compare commits

...

2 Commits

Author SHA1 Message Date
m3tam3re
50332e55e8 ollama rocm gpu fix 2024-11-25 14:59:34 +01:00
m3tam3re
1251081494 +tailwindcss 2024-11-22 08:54:24 +01:00
4 changed files with 14 additions and 0 deletions

View File

@ -69,6 +69,8 @@
procs procs
progress progress
ripgrep ripgrep
rocmPackages.rocm-smi
rocmPackages.rocminfo
tldr tldr
trash-cli trash-cli
unimatrix unimatrix

View File

@ -2,5 +2,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
nixd nixd
alejandra alejandra
tailwindcss
tailwindcss-language-server
]; ];
} }

View File

@ -20,5 +20,9 @@ in {
host = "[::]"; host = "[::]";
openFirewall = true; openFirewall = true;
}; };
nixpkgs.config = {
rocmSupport = config.services.xserver.videoDrivers == ["amdgpu"];
cudaSupport = config.services.xserver.videoDrivers == ["nvidia"];
};
}; };
} }

View File

@ -48,4 +48,10 @@
podman.enable = true; podman.enable = true;
virtualisation.enable = true; virtualisation.enable = true;
}; };
services.ollama = {
environmentVariables = {
HCC_AMDGPU_TARGET = "gfx1100";
};
rocmOverrideGfx = "11.0.0";
};
} }