finally ollama works on the fwdesk

This commit is contained in:
ari committed 2026-01-13 00:07:00 -05:00
1 parent 720f60a04c
commit 20d22067c9
7 files changed
+35 -25

No files matched your search

+1 -1
View File
@@ -260,7 +260,7 @@ in
port = 11434;
acceleration = "rocm";
rocmOverrideGfx = "11.0.2";
package = unstablePkgs.ollama-rocm;
# package = unstablePkgs.ollama-rocm;
};
# # Brother Printer
hardware.sane.brscan5.enable = true;
@@ -13,7 +13,6 @@
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-uuid/e903eb56-160d-4b77-ba66-ef54a18207f2";
+21 -11
View File
@@ -1,5 +1,6 @@
{ pkgs
, unstablePkgs
, lib
, ...
}:
let
@@ -71,8 +72,7 @@ in
environment.systemPackages =
(with pkgs; [
# languages
python313
cargo
# cargo
rustc
go
pipx
@@ -84,6 +84,11 @@ in
# Steam
mangohud
# LLM Stuff
ollama-rocm
# stable-diffusion-cpp-rocm
lmstudio
]);
services.usbmuxd.enable = true;
# Steam
@@ -105,20 +110,25 @@ in
hardware.xone.enable = true; # support for the xbox controller USB dongle
# Ollama
services.open-webui.enable = true;
users.users.ollama = {
enable = true;
home = "/var/lib/ollama";
extraGroups = [
"render"
"video"
];
};
services.ollama = {
enable = true;
host = "0.0.0.0";
port = ports.ollama;
acceleration = "rocm";
package = unstablePkgs.ollama-rocm;
};
# Tabby
services.tabby = {
enable = true;
acceleration = "rocm";
host = "0.0.0.0";
port = ports.tabby;
acceleration = "vulkan";
user = "ollama";
home = "/var/lib/ollama";
rocmOverrideGfx = "gfx1151";
};
hardware.graphics.enable = true;
hardware.amdgpu.opencl.enable = true;
environment.localBinInPath = true;
programs.nh = {
enable = true;