Xterm & Ollama launch

This commit is contained in:
Olaf
2026-07-13 15:02:30 +02:00
parent 1336a9bcd8
commit c3cfbf5a6a
3 changed files with 18 additions and 4 deletions
+12
View File
@@ -108,6 +108,18 @@ in
StandardOutPath = "/tmp/emacs.out.log"; StandardOutPath = "/tmp/emacs.out.log";
}; };
launchd.user.agents.ollama = {
command = "${pkgs.ollama}/bin/ollama serve";
serviceConfig = {
KeepAlive = true;
RunAtLoad = true;
StandardOutPath = "/tmp/ollama.out.log";
StandardErrorPath = "/tmp/ollama.err.log";
};
};
system = { system = {
stateVersion = 4; stateVersion = 4;
primaryUser = "${user}"; primaryUser = "${user}";
+1 -1
View File
@@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
emacsOverlaySha256 = "02yxwls39cj02yw03b01hvg6h2fvk9k54adzqgi569mm7ld39rx8"; emacsOverlaySha256 = "0n7hpzf0j7fgizcfxqsk3i1f06k1clmbkdy099sn1sgh2x2h3ig7";
in in
{ {
+5 -3
View File
@@ -12,7 +12,7 @@ with pkgs;
libxext libxext
libxrender libxrender
libxrandr libxrandr
xterm xterm
# The Web Browsers # The Web Browsers
brave brave
@@ -97,7 +97,6 @@ with pkgs;
#nodePackages.prettier #nodePackages.prettier
# Text and terminal utilities # Text and terminal utilities
xterm
htop htop
hunspell hunspell
@@ -115,6 +114,7 @@ with pkgs;
# Python packages # Python packages
# python3 # python3
virtualenv virtualenv
uv
(python3.withPackages ( (python3.withPackages (
python-pkgs: with python-pkgs; [ python-pkgs: with python-pkgs; [
@@ -153,7 +153,7 @@ with pkgs;
)) ))
# LLM # LLM
ollama ollama # Launchd definition in hosts/darwin/default.nix
# Social # Social
pidgin pidgin
@@ -229,6 +229,8 @@ with pkgs;
### Agents from https://github.com/numtide/llm-agents.nix ### Agents from https://github.com/numtide/llm-agents.nix
++ (with llm-agents.packages.${pkgs.stdenv.hostPlatform.system}; [ ++ (with llm-agents.packages.${pkgs.stdenv.hostPlatform.system}; [
hermes-desktop hermes-desktop
hermes-hud hermes-hud