dotfiles

Revert "feat(nix): install ollama through homebrew cask"

This reverts commit 1157318898f6cb12ce6d385facf65ff8d42bd11f.

boltless.me 835829b9 20467e39

verified
+14 -15
+14 -15
nix/darwin.nix
··· 8 8 pkgs.tree 9 9 pkgs.vim 10 10 pkgs.git 11 - # pkgs.ollama 11 + pkgs.ollama 12 12 # I don't want to touch this due to current neovim settings. 13 13 # remove it when lux.nvim is out 14 14 (pkgs-unstable.lua5_1.withPackages (ps: with ps; [luarocks])) ··· 18 18 # reference: 19 19 # - https://www.danielcorin.com/til/nix-darwin/launch-agents/ 20 20 # - https://medium.com/@anand34577/setting-up-ollama-as-a-background-service-on-macos-66f7492b5cc8 21 - # ollama-serve = { 22 - # serviceConfig = { 23 - # Label = "com.ollama.serve"; 24 - # ProgramArguments = [ "${pkgs.ollama}/bin/ollama" "serve" ]; 25 - # KeepAlive = true; 26 - # RunAtLoad = true; 27 - # # TODO: ensure /var/log/ollama exist 28 - # # StandardOutPath = "/var/log/ollama/stdout.log"; 29 - # # StandardErrorPath = "/var/log/ollama/stderr.log"; 30 - # StandardOutPath = "/tmp/ollama_boltless.log"; 31 - # StandardErrorPath = "/tmp/ollama_boltless.err"; 32 - # }; 33 - # }; 21 + ollama-serve = { 22 + serviceConfig = { 23 + Label = "com.ollama.serve"; 24 + ProgramArguments = [ "${pkgs.ollama}/bin/ollama" "serve" ]; 25 + KeepAlive = true; 26 + RunAtLoad = true; 27 + # TODO: ensure /var/log/ollama exist 28 + # StandardOutPath = "/var/log/ollama/stdout.log"; 29 + # StandardErrorPath = "/var/log/ollama/stderr.log"; 30 + StandardOutPath = "/tmp/ollama_boltless.log"; 31 + StandardErrorPath = "/tmp/ollama_boltless.err"; 32 + }; 33 + }; 34 34 }; 35 35 36 36 # Necessary for using flakes on this system. ··· 186 186 casks = [ 187 187 "discord" 188 188 "ghostty" 189 - "ollama-app" 190 189 "raycast" 191 190 # there are also pkgs.sensible-side-buttons (original version) which is unfree license 192 191 # this one is foked version of it: "SaneSideButtons"