feat(darwin): harden brew installations
This commit is contained in:
parent
3e2c6ed346
commit
1fba12a74a
2 changed files with 22 additions and 11 deletions
|
@ -82,7 +82,7 @@
|
|||
};
|
||||
};
|
||||
darwinConfigurations = {
|
||||
"sashimi-slicer" = darwin.lib.darwinSystem rec {
|
||||
"sashimi" = darwin.lib.darwinSystem rec {
|
||||
system = "aarch64-darwin";
|
||||
|
||||
modules = [
|
||||
|
|
|
@ -23,23 +23,23 @@
|
|||
|
||||
homebrew = {
|
||||
enable = true;
|
||||
caskArgs.no_quarantine = true;
|
||||
onActivation = {
|
||||
autoUpdate = true;
|
||||
cleanup = "zap";
|
||||
caskArgs = {
|
||||
require_sha = true;
|
||||
};
|
||||
casks = [
|
||||
onActivation.autoUpdate = true;
|
||||
casks = let
|
||||
skipSha = name: {
|
||||
inherit name;
|
||||
args = {require_sha = false;};
|
||||
};
|
||||
in [
|
||||
"1password"
|
||||
"affinity-designer"
|
||||
"affinity-photo"
|
||||
"affinity-publisher"
|
||||
"alfred"
|
||||
"bitwarden"
|
||||
"blender"
|
||||
"discord"
|
||||
"docker"
|
||||
"easy-move-plus-resize"
|
||||
"eloston-chromium"
|
||||
"firefox"
|
||||
"imageoptim"
|
||||
"insomnia"
|
||||
|
@ -54,11 +54,22 @@
|
|||
"postman"
|
||||
"qt-creator"
|
||||
"rustdesk"
|
||||
"sizzy"
|
||||
"uninstallpkg"
|
||||
"utm"
|
||||
"yubico-yubikey-manager"
|
||||
|
||||
# casks without shasums
|
||||
(skipSha "affinity-designer")
|
||||
(skipSha "affinity-photo")
|
||||
(skipSha "affinity-publisher")
|
||||
(skipSha "sizzy")
|
||||
|
||||
# community builds needing to skip quarantine
|
||||
{
|
||||
name = "eloston-chromium";
|
||||
args = {no_quarantine = true;};
|
||||
}
|
||||
|
||||
# drivers
|
||||
"elgato-wave-link"
|
||||
"uhk-agent"
|
||||
|
|
Loading…
Reference in a new issue