From 6a5e778871a32af7d835904c437f8228daca1ef1 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sun, 1 Feb 2026 07:25:08 +0100 Subject: [PATCH] ignore desktop icons on macos --- hosts/darwin/system-default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/darwin/system-default.nix b/hosts/darwin/system-default.nix index 48f871f..d358738 100644 --- a/hosts/darwin/system-default.nix +++ b/hosts/darwin/system-default.nix @@ -54,7 +54,6 @@ "/Applications/KeePassXC.app" ]; persistent-others = [ - "/Users/yanlin/Desktop" "/Users/yanlin/Downloads" ]; # List of folders/files to keep in dock @@ -72,7 +71,7 @@ finder = { AppleShowAllExtensions = true; # Show all file extensions AppleShowAllFiles = false; # Show hidden files - CreateDesktop = true; # Show icons on desktop + CreateDesktop = false; # Show icons on desktop FXEnableExtensionChangeWarning = false; # Warn when changing file extension FXPreferredViewStyle = "Nlsv"; # Default view: "icnv"=Icon, "Nlsv"=List, "clmv"=Column, "glyv"=Gallery QuitMenuItem = false; # Allow quitting Finder with ⌘Q @@ -109,7 +108,7 @@ screencapture = { disable-shadow = false; # Disable shadow in screenshots - location = "~/Desktop"; # Default save location + location = "~/Downloads"; # Default save location type = "png"; # Screenshot format: png, jpg, pdf, etc. show-thumbnail = true; # Show thumbnail after taking screenshot };