diff --git a/hosts/darwin/home-default.nix b/hosts/darwin/home-default.nix index 51ac7fc..9508a8a 100644 --- a/hosts/darwin/home-default.nix +++ b/hosts/darwin/home-default.nix @@ -224,45 +224,45 @@ # File associations configuration (macOS equivalent of xdg.mimeApps) # Uses duti to set default applications for file types via Launch Services home.activation.setFileAssociations = config.lib.dag.entryAfter ["writeBoundary"] '' - # Text and code files - open with Ghostty terminal (which opens Neovim) - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .txt all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .md all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .markdown all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .nix all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .sh all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .bash all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .zsh all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .fish all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .py all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .js all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .ts all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .jsx all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .tsx all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .json all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .yaml all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .yml all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .toml all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .xml all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .css all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .log all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .csv all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .conf all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .config all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .ini all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .env all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .c all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .cpp all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .h all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .hpp all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .rs all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .go all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .java all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .rb all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .php all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .lua all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .vim all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .tex all - run ${pkgs.duti}/bin/duti -s com.mitchellh.ghostty .bib all + # Text and code files - open with TextMate + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .txt all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .md all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .markdown all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .nix all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .sh all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .bash all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .zsh all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .fish all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .py all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .js all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .ts all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .jsx all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .tsx all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .json all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .yaml all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .yml all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .toml all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .xml all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .css all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .log all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .csv all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .conf all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .config all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .ini all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .env all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .c all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .cpp all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .h all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .hpp all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .rs all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .go all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .java all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .rb all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .php all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .lua all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .vim all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .tex all + run ${pkgs.duti}/bin/duti -s com.macromates.TextMate .bib all # Documents - PDF with Preview run ${pkgs.duti}/bin/duti -s com.apple.Preview .pdf all diff --git a/modules/homebrew.nix b/modules/homebrew.nix index db29c24..45275ad 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -21,6 +21,7 @@ "obsidian" "snipaste" "ghostty" + "textmate" "slidepilot" "tencent-meeting" "ovito"