aboutsummaryrefslogtreecommitdiff
path: root/nix/profiles/darwin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/profiles/darwin.nix')
-rw-r--r--nix/profiles/darwin.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/nix/profiles/darwin.nix b/nix/profiles/darwin.nix
deleted file mode 100644
index e355b72..0000000
--- a/nix/profiles/darwin.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ ... }:
-{
- 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";
- show-recents = false;
- 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.keyboard = {
- enableKeyMapping = true;
- remapCapsLockToControl = true;
- };
-
- # TODO: - The `system.activationScripts.postUserActivation` option has
- # been removed, as all activation now takes place as `root`. Please
- # restructure your custom activation scripts appropriately,
- # potentially using `sudo` if you need to run commands as a user.
- # system.activationScripts.postUserActivation.text = ''
- # mkdir -p ~/Documents/screenshots
- # '';
-
- # Touch ID for sudo auth
- security.pam.services.sudo_local.touchIdAuth = true;
-}