Refactor ollama service
This commit is contained in:
parent
89dff37210
commit
a91a056c28
|
@ -69,12 +69,6 @@
|
|||
mouse = { accelProfile = "flat"; };
|
||||
};
|
||||
|
||||
# Get up and running with large language models locally.
|
||||
ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
};
|
||||
|
||||
# Enable a few other services.
|
||||
ratbagd.enable = true;
|
||||
pcscd.enable = true;
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
imports = [
|
||||
./amdgpu-clocks.nix
|
||||
./flatpak.nix
|
||||
./ollama.nix
|
||||
./xserver.nix
|
||||
];
|
||||
}
|
||||
|
|
9
nixos/fuchsia/services/ollama.nix
Normal file
9
nixos/fuchsia/services/ollama.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Get up and running with large language models locally.
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "rocm";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue