From e36a2602a803f199a64583ce725e40c816ec5507 Mon Sep 17 00:00:00 2001 From: winston Date: Mon, 20 Feb 2023 08:47:04 +0100 Subject: [PATCH] fix(darwin): use correct brew cask args --- machines/sashimi/darwin.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/machines/sashimi/darwin.nix b/machines/sashimi/darwin.nix index 303d12d..3f5e1fe 100644 --- a/machines/sashimi/darwin.nix +++ b/machines/sashimi/darwin.nix @@ -32,6 +32,10 @@ inherit name; args = {require_sha = false;}; }; + noQuarantine = name: { + inherit name; + args = {no_quarantine = true;}; + }; in [ "1password" "alfred" @@ -39,7 +43,6 @@ "blender" "discord" "docker" - "easy-move-plus-resize" "firefox" "imageoptim" "insomnia" @@ -57,23 +60,17 @@ "uninstallpkg" "utm" "yubico-yubikey-manager" - - # casks without shasums + (noQuarantine "easy-move-plus-resize") + (noQuarantine "eloston-chromium") (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" - "vial" + (noQuarantine "vial") ]; taps = [ "homebrew/cask"