From c28c98d552362ff0c13716b28a813133ac2c6f71 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 15 Feb 2024 11:05:21 -0600 Subject: [PATCH] adding ollama service --- modules/ollama.nix | 8 ++++++++ system/shen/configuration.nix | 1 + 2 files changed, 9 insertions(+) create mode 100644 modules/ollama.nix diff --git a/modules/ollama.nix b/modules/ollama.nix new file mode 100644 index 0000000..99f9e5e --- /dev/null +++ b/modules/ollama.nix @@ -0,0 +1,8 @@ +{ config, lib, pkgs, ... }: + +with lib; +{ + services.ollama = { + enable = true; + }; +} diff --git a/system/shen/configuration.nix b/system/shen/configuration.nix index ac54706..42ffc26 100644 --- a/system/shen/configuration.nix +++ b/system/shen/configuration.nix @@ -11,6 +11,7 @@ ../../pkgs/base-packages.nix ../../modules/base.nix ../../modules/localai.nix + ../../modules/ollama.nix ]; networking.hostName = "shen"; # Define your hostname.