From ffb9621d23b858744bd7146e2a27c0cb72901813 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Fri, 2 Jan 2026 17:24:02 +0800 Subject: [PATCH] add Unarchiver --- config/projects.nix | 18 ++---------------- hosts/darwin/home-default.nix | 15 +++++++++++++++ modules/homebrew.nix | 1 + 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/config/projects.nix b/config/projects.nix index 7730e9a..6e1269d 100644 --- a/config/projects.nix +++ b/config/projects.nix @@ -101,26 +101,12 @@ in description = "DAKI3 2025 Semester"; windows = [ { - name = "code"; - path = homePath "Documents/Projects/AI systems & infrastructure/Codes"; + name = ""; + path = homePath "Documents/Projects/AI systems & infrastructure"; ai = true; git = false; shell = true; } - { - name = "slide"; - path = homePath "Documents/Projects/AI systems & infrastructure/Slides"; - ai = true; - git = false; - shell = false; - } - { - name = "group"; - path = homePath "Documents/Projects/DAKI3 Semester Project Group"; - ai = true; - git = false; - shell = false; - } ]; }; diff --git a/hosts/darwin/home-default.nix b/hosts/darwin/home-default.nix index a4c1a8a..c554e1f 100644 --- a/hosts/darwin/home-default.nix +++ b/hosts/darwin/home-default.nix @@ -305,6 +305,21 @@ run ${pkgs.duti}/bin/duti -s com.colliderli.iina .mpg all run ${pkgs.duti}/bin/duti -s com.colliderli.iina .mpeg all + # Archives - The Unarchiver + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .zip all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .rar all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .7z all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .tar all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .gz all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .bz2 all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .xz all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .tgz all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .tbz2 all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .lzma all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .cab all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .iso all + run ${pkgs.duti}/bin/duti -s com.macpaw.site.theunarchiver .dmg all + # Audio - IINA run ${pkgs.duti}/bin/duti -s com.colliderli.iina .mp3 all run ${pkgs.duti}/bin/duti -s com.colliderli.iina .m4a all diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 21182b6..2f58c56 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -46,6 +46,7 @@ "pdf-expert" "drawio" "clash-verge-rev" + "the-unarchiver" ]; taps = [ # Additional repositories if needed