2021-11-08 22:16:37 +00:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
homebrew.enable = true;
|
|
|
|
homebrew.brewPrefix =
|
2022-10-27 19:05:33 +00:00
|
|
|
if pkgs.stdenv.isAarch64 then "/opt/homebrew/bin"
|
2021-11-08 22:16:37 +00:00
|
|
|
else "/usr/local/bin";
|
2022-10-03 07:59:55 +00:00
|
|
|
homebrew.onActivation.cleanup = "zap";
|
|
|
|
homebrew.onActivation.upgrade = true;
|
2021-11-08 22:16:37 +00:00
|
|
|
|
|
|
|
# All needed taps
|
|
|
|
homebrew.taps = [
|
|
|
|
"homebrew/bundle"
|
|
|
|
"homebrew/cask"
|
|
|
|
"homebrew/core"
|
2023-04-23 09:11:21 +00:00
|
|
|
"homebrew/services"
|
2021-11-08 22:16:37 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
homebrew.brews = [
|
|
|
|
# CLI tools
|
|
|
|
"pinentry-mac" # UI for Pin Entry on gpg Mac
|
2022-05-16 22:05:08 +00:00
|
|
|
|
2023-04-23 09:11:21 +00:00
|
|
|
{
|
|
|
|
name = "d-bus";
|
|
|
|
restart_service = "changed";
|
|
|
|
}
|
|
|
|
|
2022-05-16 22:05:08 +00:00
|
|
|
# U2F
|
|
|
|
"pam-u2f"
|
2022-07-04 19:41:04 +00:00
|
|
|
];
|
2021-11-08 22:16:37 +00:00
|
|
|
|
|
|
|
homebrew.casks = [
|
|
|
|
"blackhole-2ch"
|
|
|
|
"finicky"
|
|
|
|
"inkscape"
|
|
|
|
"yt-music"
|
2023-03-14 08:52:31 +00:00
|
|
|
"eloston-chromium"
|
2021-11-08 22:16:37 +00:00
|
|
|
|
|
|
|
# CLI, but doesn't yet work on Nix
|
2022-02-09 20:21:07 +00:00
|
|
|
# "sage"
|
2021-11-08 22:16:37 +00:00
|
|
|
];
|
|
|
|
|
2023-03-14 08:52:31 +00:00
|
|
|
# We don't really need to keep track of all these
|
2021-11-08 22:16:37 +00:00
|
|
|
homebrew.masApps = {
|
2023-03-14 08:52:31 +00:00
|
|
|
# # Safari Extensions
|
|
|
|
# "Keepa - Price Tracker" = 1533805339;
|
|
|
|
# "Vimari" = 1480933944;
|
|
|
|
# "Bitwarden" = 1352778147;
|
|
|
|
# "Save to Pocket" = 1477385213;
|
|
|
|
# "AdGuard for Safari" = 1440147259;
|
|
|
|
# "Refined GitHub" = 1519867270;
|
2021-11-08 22:16:37 +00:00
|
|
|
|
2023-03-14 08:52:31 +00:00
|
|
|
# # Productivity
|
|
|
|
# # "GoodNotes" = 1444383602;
|
|
|
|
# "Amphetamine" = 937984704; # Turns off auto display dimming and sleep for some time
|
|
|
|
# "Session Pal" = 1515213004;
|
|
|
|
# "Flow" = 1423210932;
|
|
|
|
# # "Taskheat" = 1431995750; # Always shown outdated!
|
|
|
|
# "Hidden Bar" = 1452453066;
|
2021-11-08 22:16:37 +00:00
|
|
|
|
2023-03-14 08:52:31 +00:00
|
|
|
# # Development
|
|
|
|
# "Developer" = 640199958;
|
|
|
|
# # "Xcode" = 497799835;
|
2021-11-08 22:16:37 +00:00
|
|
|
|
2023-03-14 08:52:31 +00:00
|
|
|
# # Chat
|
|
|
|
# "Messenger" = 1480068668;
|
|
|
|
# "LINE" = 539883307;
|
|
|
|
# "Slack" = 803453959;
|
2021-11-08 22:16:37 +00:00
|
|
|
|
2023-03-14 08:52:31 +00:00
|
|
|
# # Office
|
|
|
|
# "Keynote" = 409183694;
|
|
|
|
# "Microsoft Excel" = 462058435;
|
|
|
|
# "The Unarchiver" = 425424353;
|
|
|
|
# "Numbers" = 409203825;
|
|
|
|
# "Pages" = 409201541;
|
|
|
|
# ## Multimedia
|
|
|
|
# "DaVinci Resolve" = 571213070;
|
|
|
|
# "GarageBand" = 682658836;
|
|
|
|
# "iMovie" = 408981434;
|
2021-11-08 22:16:37 +00:00
|
|
|
};
|
|
|
|
}
|