mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 08:58:26 +02:00
feat: update macOS's system config
This commit is contained in:
@@ -24,8 +24,10 @@
|
||||
|
||||
# customize dock
|
||||
dock = {
|
||||
autohide = true;
|
||||
show-recents = false; # disable recent apps
|
||||
autohide = true; # automatically hide and show the dock
|
||||
show-recents = false; # do not show recent apps in dock
|
||||
# do not automatically rearrange spaces based on most recent use.
|
||||
mru-spaces = false;
|
||||
|
||||
# customize Hot Corners(触发角, 鼠标移动到屏幕角落时触发的动作)
|
||||
wvous-tl-corner = 2; # top-left - Mission Control
|
||||
@@ -78,7 +80,12 @@
|
||||
};
|
||||
|
||||
# customize settings that not supported by nix-darwin directly
|
||||
# see the source code of https://github.com/rgcr/m-cli to get all the available options
|
||||
CustomUserPreferences = {
|
||||
".GlobalPreferences" = {
|
||||
# automatically switch to a new space when switching to the application
|
||||
AppleSpacesSwitchOnActivate = true;
|
||||
};
|
||||
NSGlobalDomain = {
|
||||
# Add a context menu item for showing the Web Inspector in web views
|
||||
WebKitDeveloperExtras = true;
|
||||
|
||||
Reference in New Issue
Block a user