mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
Add NSGlobalDomain.NSAutomaticWindowAnimationsEnabled setting
* modules/system/defaults/NSGlobalDomain.nix: Define.
This commit is contained in:
parent
20813f1df7
commit
af3eb87e82
2 changed files with 10 additions and 0 deletions
|
@ -135,6 +135,14 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSAutomaticWindowAnimationsEnabled = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
description = ''
|
||||
Whether to animate opening and closing of windows and popovers. The default is true.
|
||||
'';
|
||||
};
|
||||
|
||||
system.defaults.NSGlobalDomain.NSDisableAutomaticTermination = mkOption {
|
||||
type = types.nullOr types.bool;
|
||||
default = null;
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
system.defaults.NSGlobalDomain.NSAutomaticPeriodSubstitutionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticQuoteSubstitutionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticSpellingCorrectionEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSAutomaticWindowAnimationsEnabled = false;
|
||||
system.defaults.NSGlobalDomain.NSDisableAutomaticTermination = true;
|
||||
system.defaults.NSGlobalDomain.NSDocumentSaveNewDocumentsToCloud = false;
|
||||
system.defaults.NSGlobalDomain.NSNavPanelExpandedStateForSaveMode = true;
|
||||
|
@ -63,6 +64,7 @@
|
|||
grep "defaults write -g 'NSAutomaticPeriodSubstitutionEnabled' -bool NO" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSAutomaticQuoteSubstitutionEnabled' -bool NO" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSAutomaticSpellingCorrectionEnabled' -bool NO" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSAutomaticWindowAnimationsEnabled' -bool NO" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSDisableAutomaticTermination' -bool YES" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSDocumentSaveNewDocumentsToCloud' -bool NO" ${config.out}/activate-user
|
||||
grep "defaults write -g 'NSNavPanelExpandedStateForSaveMode' -bool YES" ${config.out}/activate-user
|
||||
|
|
Loading…
Add table
Reference in a new issue