ollama gpu

This commit is contained in:
2026-01-11 22:25:28 -06:00
parent 10cf6bba46
commit 22535fbbaf

View File

@@ -83,6 +83,15 @@
loadModels = [ "llama3.1:8b" ];
openFirewall = true;
user = "ollama";
};
users.users.ollama.extraGroups = [ "video" "render" ];
systemd.services.ollama.serviceConfig = {
PrivateDevices = lib.mkForce false;
DevicePolicy = lib.mkForce "auto";
};
system.stateVersion = "25.05";