summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorSimon Holywell <simon@holywell.com.au>2019-11-04 12:39:47 +1000
committerSimon Holywell <simon@holywell.com.au>2019-11-04 12:39:47 +1000
commit8e90853f172ea05b51f7d40c307e1b58c9e44dab (patch)
tree31fce54a10aed47c9e5e66726788b42f8f54791e /modules/system
parent3fde04a384d4edf68b726178349a12b9aeb1e05d (diff)
adds com.apple.sound.beep.volume
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/defaults/NSGlobalDomain.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/system/defaults/NSGlobalDomain.nix b/modules/system/defaults/NSGlobalDomain.nix
index d519ce0..8164faf 100644
--- a/modules/system/defaults/NSGlobalDomain.nix
+++ b/modules/system/defaults/NSGlobalDomain.nix
@@ -224,6 +224,19 @@ in {
'';
};
+ system.defaults.NSGlobalDomain."com.apple.sound.beep.volume" = mkOption {
+ type = types.nullOr float;
+ default = null;
+ description = ''
+ # Apple menu > System Preferences > Sound
+ Sets the beep/alert volume level from 0.000 (muted) to 1.000 (100% volume).
+
+ 75% = 0.7788008
+ 50% = 0.6065307
+ 25% = 0.4723665
+ '';
+ };
+
system.defaults.NSGlobalDomain."com.apple.trackpad.enableSecondaryClick" = mkOption {
type = types.nullOr types.bool;
default = null;