Add ollama
This commit is contained in:
14
home.nix
14
home.nix
@@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
# CLI Apps
|
# CLI Apps
|
||||||
dconf2nix # Dconf to Nix format.
|
dconf2nix # Dconf to Nix format.
|
||||||
|
ollama # Local LLMs
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
adw-gtk3 # 'gtk2/3' Dependency
|
adw-gtk3 # 'gtk2/3' Dependency
|
||||||
@@ -329,6 +330,19 @@
|
|||||||
# Autostart services on boot
|
# Autostart services on boot
|
||||||
services.gnome-keyring.enable = true;
|
services.gnome-keyring.enable = true;
|
||||||
|
|
||||||
|
systemd.user.services.ollama = {
|
||||||
|
Unit = {
|
||||||
|
Description = "Ollama Serve.";
|
||||||
|
};
|
||||||
|
Install = {
|
||||||
|
WantedBy = [ "default.target" ];
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
ExecStart = "/home/trude/.nix-profile/bin/ollama serve";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
# Default browser
|
# Default browser
|
||||||
|
|||||||
Reference in New Issue
Block a user