dotfiles/machines/sashimi/brew.nix
2023-11-15 21:02:11 +01:00

58 lines
1.2 KiB
Nix

{config, ...}: {
# make brew available in PATH
environment.systemPath = [config.homebrew.brewPrefix];
homebrew = {
enable = true;
caskArgs.require_sha = true;
onActivation = {
autoUpdate = true;
cleanup = "uninstall";
upgrade = true;
};
casks = let
skipSha = name: {
inherit name;
args = {require_sha = false;};
};
noQuarantine = name: {
inherit name;
args = {no_quarantine = true;};
};
in [
"1password"
"alfred"
"bitwarden"
"blender"
"eloston-chromium"
"iina"
"imageoptim"
"jetbrains-toolbox"
"karabiner-elements"
"keka"
"little-snitch"
"macfuse"
"mattermost"
"mullvadvpn"
"obs"
"orion"
"postman"
"rustdesk"
"uninstallpkg"
"utm"
"yubico-yubikey-manager"
(noQuarantine "easy-move-plus-resize")
(skipSha "affinity-designer")
(skipSha "affinity-photo")
(skipSha "affinity-publisher")
(skipSha "element")
(skipSha "sizzy")
# drivers
"elgato-wave-link"
"uhk-agent"
(noQuarantine "vial")
];
taps = ["homebrew/cask"];
};
}