Skip to content

Commit

Permalink
feat(darwin): disable boot sound
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamHsieh committed Sep 4, 2024
1 parent e2eacd2 commit 4c6bd80
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system/darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ in
# swapLeftCommandAndLeftAlt = true;
# swapLeftCtrlAndFn = true;
};

activationScripts.postActivation.text = ''
# Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "
'';
};

# Auto upgrade nix package and the daemon service.
Expand Down

0 comments on commit 4c6bd80

Please sign in to comment.