this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(nix): install ollama through homebrew cask

Signed-off-by: Seongmin Lee <boltlessengineer@proton.me>

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