about summary refs log tree commit diff
path: root/hosts/common/darwin/macos.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-03-11 17:15:43 -0700
committerFranck Cuny <franck@fcuny.net>2024-03-11 17:15:43 -0700
commit63637f993f7d15cc8750d519e210a7d7c22a1efa (patch)
tree155caba0021e551a50baad53be190256d025012f /hosts/common/darwin/macos.nix
parentmark nix 2.16.2 as insecure (diff)
downloadworld-63637f993f7d15cc8750d519e210a7d7c22a1efa.tar.gz
reorganize common files for hosts
Move the common configuration for nix to its own file.
Diffstat (limited to 'hosts/common/darwin/macos.nix')
-rw-r--r--hosts/common/darwin/macos.nix23
1 files changed, 0 insertions, 23 deletions
diff --git a/hosts/common/darwin/macos.nix b/hosts/common/darwin/macos.nix
deleted file mode 100644
index edc57a0..0000000
--- a/hosts/common/darwin/macos.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ ... }: {
-  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.keyboard = {
-    enableKeyMapping = true;
-    remapCapsLockToControl = true;
-  };
-
-  system.defaults.CustomUserPreferences = {
-    "com.apple.desktopservices" = {
-      # Avoid creating .DS_Store files on network or USB volumes
-      DSDontWriteNetworkStores = true;
-      DSDontWriteUSBStores = true;
-    };
-  };
-}