From 7104609b0263a0aec6388b0223d8c3fb93a425d7 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 17 Dec 2025 11:49:08 +0100 Subject: [PATCH] add darwio --- hosts/darwin/home-default.nix | 3 +++ modules/homebrew.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/hosts/darwin/home-default.nix b/hosts/darwin/home-default.nix index 2836c12..a4c1a8a 100644 --- a/hosts/darwin/home-default.nix +++ b/hosts/darwin/home-default.nix @@ -276,6 +276,9 @@ # Documents - PDF with PDF Expert run ${pkgs.duti}/bin/duti -s com.readdle.PDFExpert-Mac .pdf all + # Diagrams - Draw.io + run ${pkgs.duti}/bin/duti -s com.jgraph.drawio.desktop .drawio all + # Images - Preview run ${pkgs.duti}/bin/duti -s com.apple.Preview .png all run ${pkgs.duti}/bin/duti -s com.apple.Preview .jpg all diff --git a/modules/homebrew.nix b/modules/homebrew.nix index cdcfa9b..043390b 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -44,6 +44,7 @@ "raspberry-pi-imager" "transmission" "pdf-expert" + "drawio" ]; taps = [ # Additional repositories if needed