From 538dc8954b2488c1e17e0aa6a15992d32d8238f3 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 4 Jan 2024 11:39:08 +0800 Subject: [PATCH] docs: how to remove apps from macOS --- Justfile | 1 + modules/darwin/apps.nix | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/Justfile b/Justfile index 145509e3..c3053ecc 100644 --- a/Justfile +++ b/Justfile @@ -49,6 +49,7 @@ clean: gc: # garbage collect all unused nix store entries sudo nix store gc --debug + sudo nix-collect-garbage --delete-old ############################################################################ # diff --git a/modules/darwin/apps.nix b/modules/darwin/apps.nix index 34df36f3..4293f064 100644 --- a/modules/darwin/apps.nix +++ b/modules/darwin/apps.nix @@ -11,6 +11,13 @@ # NOTE: Your can find all available options in: # https://daiderd.com/nix-darwin/manual/index.html # +# NOTE:To remove the uninstalled APPs icon from Launchpad: +# 1. `sudo nix store gc --debug` & `sudo nix-collect-garbage --delete-old` +# 2. click on the uninstalled APP's icon in Launchpad, it will show a question mark +# 3. if the app starts normally: +# 1. right click on the running app's icon in Dock, select "Options" -> "Show in Finder" and delete it +# 4. hold down the Option key, a `x` button will appear on the icon, click it to remove the icon +# # TODO Fell free to modify this file to fit your needs. # ##########################################################################