diff options
| author | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-10 08:47:54 -0800 |
|---|---|---|
| committer | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-10 08:48:16 -0800 |
| commit | a0f966952c5647cbaf24d78678e85444a91bdfc7 (patch) | |
| tree | 170be1eb4808fcedc0b1dac114a90d8236622d7f /nix/machines/darwin-shared.nix | |
| parent | Merge pull request #7 from fcuny/update_flake_lock_action (diff) | |
| download | infra-a0f966952c5647cbaf24d78678e85444a91bdfc7.tar.gz | |
update some of the macos defaults
Diffstat (limited to 'nix/machines/darwin-shared.nix')
| -rw-r--r-- | nix/machines/darwin-shared.nix | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/nix/machines/darwin-shared.nix b/nix/machines/darwin-shared.nix index 1c9cbf3..2f0ceb9 100644 --- a/nix/machines/darwin-shared.nix +++ b/nix/machines/darwin-shared.nix @@ -17,18 +17,38 @@ system.defaults = { dock = { autohide = true; + dashboard-in-overlay = false; + launchanim = false; # Don't animate opening applications. + mru-spaces = false; # don’t rearrange spaces based on the most recent use orientation = "left"; - showhidden = false; show-recents = false; - mru-spaces = false; # don’t rearrange spaces based on the most recent use + showhidden = false; + tilesize = 60; # Default is 64. + wvous-br-corner = 1; # Disable Notes hot corner. }; finder.AppleShowAllExtensions = true; + + CustomUserPreferences = { + "com.apple.desktopservices" = { + # Avoid creating .DS_Store files on network or USB volumes + DSDontWriteNetworkStores = true; + DSDontWriteUSBStores = true; + }; + }; + + # Requires the directory to already exist. + # See system.activationScripts.postUserActivation screencapture.location = "~/Documents/screenshots"; SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true; }; + system.activationScripts.postUserActivation.text = '' + mkdir -p ~/Documents/screenshots + ''; + fonts.packages = with pkgs; [ source-code-pro + monaspace ]; system.keyboard = { @@ -41,14 +61,6 @@ services.nix-daemon.enable = true; - system.defaults.CustomUserPreferences = { - "com.apple.desktopservices" = { - # Avoid creating .DS_Store files on network or USB volumes - DSDontWriteNetworkStores = true; - DSDontWriteUSBStores = true; - }; - }; - programs.fish.enable = true; programs.fish.shellInit = '' # Nix |
