From 39ec1189f7d459c4bcbb3ad69b706ee2ed7341a4 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 3 Dec 2025 19:02:41 +0100 Subject: [PATCH] add typora --- hosts/darwin/home-default.nix | 4 ++-- modules/homebrew.nix | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/darwin/home-default.nix b/hosts/darwin/home-default.nix index f821f2e..9f46421 100644 --- a/hosts/darwin/home-default.nix +++ b/hosts/darwin/home-default.nix @@ -236,8 +236,8 @@ home.activation.setFileAssociations = config.lib.dag.entryAfter ["writeBoundary"] '' # Text and code files - open with TextMate run ${pkgs.duti}/bin/duti -s com.todesktop.230313mzl4w4u92 .txt all - run ${pkgs.duti}/bin/duti -s com.todesktop.230313mzl4w4u92 .md all - run ${pkgs.duti}/bin/duti -s com.todesktop.230313mzl4w4u92 .markdown all + run ${pkgs.duti}/bin/duti -s abnerworks.Typora .md all + run ${pkgs.duti}/bin/duti -s abnerworks.Typora .markdown all run ${pkgs.duti}/bin/duti -s com.todesktop.230313mzl4w4u92 .nix all run ${pkgs.duti}/bin/duti -s com.todesktop.230313mzl4w4u92 .sh all run ${pkgs.duti}/bin/duti -s com.todesktop.230313mzl4w4u92 .bash all diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 67a27fe..5b71e84 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -39,6 +39,7 @@ "linearmouse" "omnigraffle" "tailscale-app" + "typora" ]; taps = [ # Additional repositories if needed