about summary refs log tree commit diff
path: root/hosts/common/darwin/macos.nix
blob: 810d64dab5cbfcfd32ddbca9c6a1c21a0bc00bd9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ ... }: {
  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;
    };
  };
}