about summary refs log tree commit diff
path: root/nix/hosts/common/macos.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hosts/common/macos.nix')
-rw-r--r--nix/hosts/common/macos.nix29
1 files changed, 0 insertions, 29 deletions
diff --git a/nix/hosts/common/macos.nix b/nix/hosts/common/macos.nix
deleted file mode 100644
index e764129..0000000
--- a/nix/hosts/common/macos.nix
+++ /dev/null
@@ -1,29 +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.defaults.SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true;
-
-  system.keyboard = {
-    enableKeyMapping = true;
-    remapCapsLockToControl = true;
-  };
-
-  # Touch ID for sudo auth
-  security.pam.enableSudoTouchIdAuth = true;
-
-  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;
-    };
-  };
-}