dotfiles/machines/sashimi/brew.nix
2024-08-26 09:59:13 +02:00

54 lines
1 KiB
Nix

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