use ollama service

This commit is contained in:
Osman Faruk Bayram 2024-12-09 16:44:21 +03:00
parent 05988fad3c
commit 610a2987bb

View file

@ -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;