feat(darwin)!: update brew and system modules

Add `firefox`, `notion` and `slack`
Disable `nix-index`
Disable volume/brightness popups
This commit is contained in:
reo101 2023-09-06 22:07:09 +03:00
parent 26cafb1599
commit e2c5514c76
Signed by: reo101
GPG key ID: 675AA7EF13964ACB
2 changed files with 12 additions and 3 deletions

View file

@ -18,7 +18,7 @@ in
services.activate-system.enable = true;
services.nix-daemon.enable = true;
programs.nix-index.enable = true;
# programs.nix-index.enable = true;
environment.shells = [ pkgs.zsh ];
@ -177,6 +177,9 @@ in
if ! [ "$\{SPCTL}" = "assessments disabled" ]; then
sudo spctl --master-disable
fi
# echo "Set hostname"
# sudo scutil --set HostName $hostname
'';
# User-level settings
@ -233,6 +236,9 @@ in
# echo "Disable \"Save in Keychain\" for pinentry-mac"
# defaults write org.gpgtools.common DisableKeychain -bool yes
echo "Disable bezels (volume/brightness popups)"
launchctl unload -wF /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist
echo "Define dock icon function"
__dock_item() {
echo "${