Continued copying configuration over
This commit is contained in:
16
hosts/common/optional/services/ollama.nix
Normal file
16
hosts/common/optional/services/ollama.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
# Enable bluetooth
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
environmentVariables = {
|
||||
OLLAMA_INTEL_GPU = "1";
|
||||
};
|
||||
loadModels = [
|
||||
];
|
||||
};
|
||||
systemd.services.ollama.serviceConfig.MemoryDenyWriteExecute = lib.mkForce false;
|
||||
}
|
||||
Reference in New Issue
Block a user