1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 16:57:08 +00:00
nix-darwin/modules/system/defaults/GlobalPreferences.nix
toonn 88d27c62d5 Add defaults write for the alert sound
Found in `System Preferences`->`Sound`->`Sound Effects`, the default is `Funk`.
2019-08-19 16:02:59 +02:00

20 lines
458 B
Nix

{ config, lib, ... }:
with lib;
{
options = {
system.defaults.".GlobalPreferences"."com.apple.sound.beep.sound" =
mkOption {
type = types.nullOr (types.path);
default = null;
description = ''
Sets the system-wide alert sound. Found under "Sound Effects" in the
"Sound" section of "System Preferences". Look in
"/System/Library/Sounds" for possible candidates.
'';
};
};
}