From 610a2987bbfaea47ffe8f79818d4d8bf5ba59149 Mon Sep 17 00:00:00 2001 From: osbm Date: Mon, 9 Dec 2024 16:44:21 +0300 Subject: [PATCH] use ollama service --- hosts/ymir/configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/ymir/configuration.nix b/hosts/ymir/configuration.nix index 3250130..ec6e275 100644 --- a/hosts/ymir/configuration.nix +++ b/hosts/ymir/configuration.nix @@ -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;