{
  system.defaults.NSGlobalDomain = {
    # disable beep sound when pressing volume up/down key
    "com.apple.sound.beep.feedback" = 0;

    # disable beep sound
    "com.apple.sound.beep.volume" = null;
  };
}
