feat(darwin): harden brew installations

This commit is contained in:
winston 2023-02-19 20:06:19 +01:00
parent 3e2c6ed346
commit 1fba12a74a
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 22 additions and 11 deletions

View file

@ -82,7 +82,7 @@
};
};
darwinConfigurations = {
"sashimi-slicer" = darwin.lib.darwinSystem rec {
"sashimi" = darwin.lib.darwinSystem rec {
system = "aarch64-darwin";
modules = [

View file

@ -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"