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
|
@ -40,7 +40,6 @@ in
|
|||
"homebrew/core"
|
||||
"homebrew/cask"
|
||||
"homebrew/cask-fonts"
|
||||
"homebrew/cask-drivers"
|
||||
"homebrew/services"
|
||||
"cmacrae/formulae"
|
||||
"FelixKratz/formulae"
|
||||
|
@ -48,17 +47,21 @@ in
|
|||
];
|
||||
brews = [
|
||||
"libusb"
|
||||
"openssl"
|
||||
"switchaudio-osx"
|
||||
"pinentry-touchid"
|
||||
];
|
||||
casks = [
|
||||
"android-platform-tools"
|
||||
"docker"
|
||||
"firefox"
|
||||
"font-fira-code-nerd-font"
|
||||
"karabiner-elements"
|
||||
"notion"
|
||||
# "osxfuse"
|
||||
"scroll-reverser"
|
||||
"sf-symbols"
|
||||
# "slack"
|
||||
"slack"
|
||||
"spotify"
|
||||
"xquartz"
|
||||
];
|
||||
|
|
|
@ -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…
Reference in a new issue