this repo has no description
0
fork

Configure Feed

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

feat(darwin): add Ollama back via launchd service

+23 -4
+23 -4
modules/gui/darwin.nix
··· 1 - { config, ... }: 1 + { config, pkgs, ... }: 2 2 3 3 { 4 4 homebrew.casks = [ ··· 42 42 }; 43 43 }; 44 44 45 - home-manager.users.${config.primaryUser.username}.home.file = { 46 - ".config/karabiner/karabiner.json".source = ./files/karabiner.json; 47 - ".config/kitty/kitty.d/macos.conf".source = ./files/kitty.conf; 45 + home-manager.users.${config.primaryUser.username} = { 46 + home = { 47 + packages = with pkgs.unstable; [ 48 + ollama 49 + ]; 50 + file = { 51 + ".config/karabiner/karabiner.json".source = ./files/karabiner.json; 52 + ".config/kitty/kitty.d/macos.conf".source = ./files/kitty.conf; 53 + }; 54 + }; 55 + launchd.agents = { 56 + ollama = { 57 + enable = true; 58 + config = { 59 + KeepAlive = true; 60 + ProgramArguments = [ "${pkgs.unstable.ollama}/bin/ollama" "serve" ]; 61 + RunAtLoad = true; 62 + StandardErrorPath = "/tmp/ollama.log"; 63 + StandardOutPath = "/tmp/ollama.log"; 64 + }; 65 + }; 66 + }; 48 67 }; 49 68 }