Set a bunch of mac settings
This commit is contained in:
parent
b2d5956424
commit
c9d8487d26
57
darwin.nix
57
darwin.nix
|
@ -57,11 +57,6 @@
|
||||||
|
|
||||||
networking.hostName = "Joe-Bidens-MacBook-Pro";
|
networking.hostName = "Joe-Bidens-MacBook-Pro";
|
||||||
|
|
||||||
system.defaults = {
|
|
||||||
NSGlobalDomain.AppleShowAllFiles = true;
|
|
||||||
finder.AppleShowAllFiles = true;
|
|
||||||
screencapture.disable-shadow = true;
|
|
||||||
};
|
|
||||||
system.keyboard = {
|
system.keyboard = {
|
||||||
enableKeyMapping = true;
|
enableKeyMapping = true;
|
||||||
remapCapsLockToEscape = true;
|
remapCapsLockToEscape = true;
|
||||||
|
@ -101,7 +96,7 @@
|
||||||
spotify
|
spotify
|
||||||
discord
|
discord
|
||||||
audacity
|
audacity
|
||||||
blender
|
# blender
|
||||||
ghidra
|
ghidra
|
||||||
gimp
|
gimp
|
||||||
hexfiend
|
hexfiend
|
||||||
|
@ -110,6 +105,13 @@
|
||||||
wireshark
|
wireshark
|
||||||
];
|
];
|
||||||
|
|
||||||
|
system.defaults.dock.autohide = true;
|
||||||
|
system.defaults.dock.largesize = 80;
|
||||||
|
system.defaults.dock.magnification = true; # think this needs to be confed in system settings
|
||||||
|
system.defaults.dock.minimize-to-application = true;
|
||||||
|
system.defaults.dock.mru-spaces = false;
|
||||||
|
system.defaults.dock.orientation = "left";
|
||||||
|
|
||||||
system.defaults.dock.persistent-apps = [
|
system.defaults.dock.persistent-apps = [
|
||||||
# Finder? LaunchPad?
|
# Finder? LaunchPad?
|
||||||
"${pkgs.keepassxc}/Applications/KeePassXC.app"
|
"${pkgs.keepassxc}/Applications/KeePassXC.app"
|
||||||
|
@ -125,7 +127,48 @@
|
||||||
"/Users/xenia/Applications/Home Manager Apps/Alacritty.app"
|
"/Users/xenia/Applications/Home Manager Apps/Alacritty.app"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Set desktop background
|
||||||
system.activationScripts.extraActivation.text = ''
|
system.activationScripts.extraActivation.text = ''
|
||||||
osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"${./backgrounds/pan-wire-3.png}\" as POSIX file"
|
osascript -e "tell application \"System Events\" to tell every desktop to set picture to \"${./backgrounds/enby-mac.png}\" as POSIX file"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
system.defaults.menuExtraClock = {
|
||||||
|
ShowSeconds = true;
|
||||||
|
IsAnalog = false;
|
||||||
|
Show24Hour = true;
|
||||||
|
ShowDate = 1; # 1 = always
|
||||||
|
};
|
||||||
|
# mouse speed
|
||||||
|
system.defaults.".GlobalPreferences"."com.apple.mouse.scaling" = 0.9;
|
||||||
|
# disable quarantine for applications
|
||||||
|
system.defaults.LaunchServices.LSQuarantine = false;
|
||||||
|
system.defaults.NSGlobalDomain.AppleInterfaceStyle = "Dark";
|
||||||
|
|
||||||
|
# Show all info in finder
|
||||||
|
system.defaults.NSGlobalDomain.AppleShowAllExtensions = true;
|
||||||
|
system.defaults.NSGlobalDomain.AppleShowAllFiles = true;
|
||||||
|
|
||||||
|
# Need re-login to apply
|
||||||
|
system.defaults.NSGlobalDomain.InitialKeyRepeat = 15;
|
||||||
|
system.defaults.NSGlobalDomain.KeyRepeat = 2;
|
||||||
|
|
||||||
|
# don't fuck with my typing
|
||||||
|
system.defaults.NSGlobalDomain.NSAutomaticCapitalizationEnabled = false;
|
||||||
|
system.defaults.NSGlobalDomain.NSAutomaticDashSubstitutionEnabled = false;
|
||||||
|
system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false;
|
||||||
|
system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = false;
|
||||||
|
system.defaults.NSGlobalDomain.NSAutomaticSpellingCorrectionEnabled = false;
|
||||||
|
|
||||||
|
# don't save things to icloud by default
|
||||||
|
system.defaults.NSGlobalDomain.NSDocumentSaveNewDocumentsToCloud = false;
|
||||||
|
|
||||||
|
# advanced printing menu by default
|
||||||
|
system.defaults.NSGlobalDomain.PMPrintingExpandedStateForPrint = true;
|
||||||
|
|
||||||
|
# scrolling the right way
|
||||||
|
system.defaults.NSGlobalDomain."com.apple.swipescrolldirection" = false;
|
||||||
|
system.defaults.NSGlobalDomain."com.apple.trackpad.trackpadCornerClickBehavior" = 1;
|
||||||
|
|
||||||
|
|
||||||
|
system.defaults.finder.FXPreferredViewStyle = "Nlsv"; # list view
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user