feat(darwin)!: update brew
and system
modules
Add `firefox`, `notion` and `slack` Disable `nix-index` Disable volume/brightness popups
This commit is contained in:
parent
26cafb1599
commit
e2c5514c76
2 changed files with 12 additions and 3 deletions
|
@ -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 "${
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue