From 9cc5b234acd53bba68469ba0a335f4cd40f14d18 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Tue, 18 Nov 2025 19:21:52 +0100 Subject: [PATCH] move macos GUI software to homebrew --- hosts/darwin/home-default.nix | 10 ++-------- modules/homebrew.nix | 4 ++++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/hosts/darwin/home-default.nix b/hosts/darwin/home-default.nix index bed7966..54c41b2 100644 --- a/hosts/darwin/home-default.nix +++ b/hosts/darwin/home-default.nix @@ -175,12 +175,6 @@ tree bzip2 - # macOS-specific GUI applications - maccy # Clipboard manager (macOS-only) - iina # Media player (macOS-optimized) - hidden-bar # Menu bar organizer (macOS-only) - localsend - # Development and build tools python312 uv @@ -201,7 +195,7 @@ launchd.agents.maccy = { enable = true; config = { - ProgramArguments = [ "/Users/yanlin/Applications/Home Manager Apps/Maccy.app/Contents/MacOS/Maccy" ]; + ProgramArguments = [ "/Applications/Maccy.app/Contents/MacOS/Maccy" ]; RunAtLoad = true; KeepAlive = false; }; @@ -210,7 +204,7 @@ launchd.agents.hidden-bar = { enable = true; config = { - ProgramArguments = [ "/Users/yanlin/Applications/Home Manager Apps/Hidden Bar.app/Contents/MacOS/Hidden Bar" ]; + ProgramArguments = [ "/Applications/Hidden Bar.app/Contents/MacOS/Hidden Bar" ]; RunAtLoad = true; KeepAlive = false; }; diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 85874f9..db29c24 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -29,6 +29,10 @@ "microsoft-excel" "balenaetcher" "rectangle" + "maccy" + "iina" + "hiddenbar" + "localsend" ]; taps = [ # Additional repositories if needed