From 885fe3a5b13fa99540397e67aed9d66c5823a555 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Mon, 5 Jan 2026 21:46:21 +0100 Subject: [PATCH] replace textmate with doteditor --- hosts/darwin/home-default.nix | 76 +++++++++++++++++------------------ modules/homebrew.nix | 2 +- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/hosts/darwin/home-default.nix b/hosts/darwin/home-default.nix index 6795947..7458dd9 100644 --- a/hosts/darwin/home-default.nix +++ b/hosts/darwin/home-default.nix @@ -232,44 +232,44 @@ # 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 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 + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .txt all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .md all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .markdown all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .nix all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .sh all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .bash all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .zsh all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .fish all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .py all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .js all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .ts all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .jsx all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .tsx all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .json all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .yaml all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .yml all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .toml all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .xml all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .css all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .log all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .csv all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .conf all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .config all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .ini all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .env all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .c all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .cpp all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .h all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .hpp all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .rs all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .go all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .java all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .rb all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .php all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .lua all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .vim all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .tex all + run ${pkgs.duti}/bin/duti -s com.coteditor.CotEditor .bib all # Documents - PDF with PDF Expert run ${pkgs.duti}/bin/duti -s com.readdle.PDFExpert-Mac .pdf all diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 965b664..e9d912a 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -14,7 +14,7 @@ ]; casks = [ # GUI applications - manually installed apps now managed by Homebrew - "textmate" + "coteditor" "keepassxc" "keycastr" "inkscape"