From 63177dc6973a66d9a77cc7b2013531558f402114 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 2 Feb 2024 09:02:39 -0800 Subject: more Mac stuff --- hosts/mba/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/mba/default.nix b/hosts/mba/default.nix index c50eae0..6ee86c7 100644 --- a/hosts/mba/default.nix +++ b/hosts/mba/default.nix @@ -52,11 +52,23 @@ system.defaults.dock.autohide = true; system.defaults.dock.orientation = "left"; system.defaults.dock.showhidden = false; + system.defaults.dock.show-recents = false; # don’t rearrange spaces based on the most recent use system.defaults.dock.mru-spaces = false; system.defaults.finder.AppleShowAllExtensions = true; system.defaults.screencapture.location = "~/Documents/screenshots"; + system.defaults.CustomUserPreferences = { + "com.apple.desktopservices" = { + # Avoid creating .DS_Store files on network or USB volumes + DSDontWriteNetworkStores = true; + DSDontWriteUSBStores = true; + }; + }; + + # Touch ID for sudo auth + security.pam.enableSudoTouchIdAuth = true; + home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; home-manager.users.fcuny = import ../../home/darwin.nix; -- cgit 1.4.1