mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:58:12 +09:00
22 lines
922 B
Nix
22 lines
922 B
Nix
{
|
|
system.defaults.NSGlobalDomain = {
|
|
# Prevent automatic text substitutions from changing code and Markdown.
|
|
NSAutomaticCapitalizationEnabled = false;
|
|
NSAutomaticDashSubstitutionEnabled = false;
|
|
NSAutomaticPeriodSubstitutionEnabled = false;
|
|
NSAutomaticQuoteSubstitutionEnabled = false;
|
|
NSAutomaticSpellingCorrectionEnabled = false;
|
|
|
|
# Keep new documents local by default and expand save/print panels.
|
|
NSDocumentSaveNewDocumentsToCloud = false;
|
|
NSNavPanelExpandedStateForSaveMode = true;
|
|
NSNavPanelExpandedStateForSaveMode2 = true;
|
|
PMPrintingExpandedStateForPrint = true;
|
|
PMPrintingExpandedStateForPrint2 = true;
|
|
};
|
|
|
|
# Do not restore applications that happened to be open at logout. Declarative
|
|
# launch agents remain the only applications intentionally started at login.
|
|
system.defaults.CustomUserPreferences."com.apple.loginwindow".TALLogoutSavesState = false;
|
|
}
|