use ollama service
This commit is contained in:
parent
05988fad3c
commit
610a2987bb
1 changed files with 5 additions and 1 deletions
|
|
@ -158,9 +158,13 @@
|
|||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
ollama
|
||||
];
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
acceleration = "cuda";
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue