Finetuning brew and casks

This commit is contained in:
Olaf
2026-07-30 22:01:25 +02:00
parent 17070a9a51
commit d45e239926
4 changed files with 20 additions and 16 deletions
+1 -6
View File
@@ -24,10 +24,7 @@
url = "github:zhaofengli-wip/nix-homebrew"; url = "github:zhaofengli-wip/nix-homebrew";
inputs.brew-src.follows = "brew-src"; inputs.brew-src.follows = "brew-src";
}; };
homebrew-bundle = {
url = "github:homebrew/homebrew-bundle";
flake = false;
};
homebrew-core = { homebrew-core = {
url = "github:homebrew/homebrew-core"; url = "github:homebrew/homebrew-core";
flake = false; flake = false;
@@ -60,7 +57,6 @@
self, self,
darwin, darwin,
nix-homebrew, nix-homebrew,
homebrew-bundle,
homebrew-core, homebrew-core,
homebrew-cask, homebrew-cask,
home-manager, home-manager,
@@ -139,7 +135,6 @@
taps = { taps = {
"homebrew/homebrew-core" = homebrew-core; "homebrew/homebrew-core" = homebrew-core;
"homebrew/homebrew-cask" = homebrew-cask; "homebrew/homebrew-cask" = homebrew-cask;
"homebrew/homebrew-bundle" = homebrew-bundle;
}; };
mutableTaps = false; mutableTaps = false;
autoMigrate = true; autoMigrate = true;
+2 -3
View File
@@ -35,7 +35,6 @@ _:
"daisydisk" "daisydisk"
"karabiner-elements" "karabiner-elements"
"keybase" "keybase"
"microsoft-remote-desktop"
"spamsieve" "spamsieve"
"syncthing-app" "syncthing-app"
"synology-drive" "synology-drive"
@@ -58,13 +57,13 @@ _:
"element" "element"
"gpg-suite" "gpg-suite"
"macdown-3000" "macdown-3000"
"mailmate" "mailmate@beta"
"orcaslicer" "orcaslicer"
"remanager" "remanager"
"qmk-toolbox" "qmk-toolbox"
"smartsheet" "smartsheet"
# "sqlitestudio" # Doesn't work without Rosetta # "sqlitestudio" # Doesn't work without Rosetta
"tigervnc"
# "virtualbox" # build error? # "virtualbox" # build error?
"copilot-cli" "copilot-cli"
+15 -6
View File
@@ -32,13 +32,15 @@ in
homebrew = { homebrew = {
enable = true; enable = true;
global = {
brewfile = true;
};
casks = pkgs.callPackage ./casks.nix { }; casks = pkgs.callPackage ./casks.nix { };
onActivation = { onActivation = {
# Keep activation deterministic while avoiding expensive update/upgrade on every switch. cleanup = "none";
cleanup = "uninstall"; autoUpdate = true;
autoUpdate = false; upgrade = true;
upgrade = false;
}; };
# These app IDs are from using the mas CLI app # These app IDs are from using the mas CLI app
@@ -68,9 +70,9 @@ in
"Night Sky" = 475772902; # 475772902 "Night Sky" = 475772902; # 475772902
"Native SQLite Manager" = 1416282836; # (1.31.0) "Native SQLite Manager" = 1416282836; # (1.31.0)
"Remarkable Desktop" = 1276493162; # (3.19.0) "Remarkable Desktop" = 1276493162; # (3.19.0)
"Slack for Desktop" = 803453959; # (4.45.60) "Slack for Desktop" = 803453959; # (4.45.60)
"WiFi Explorer: Scanner" = 494803304; # (3.5.6) "WiFi Explorer: Scanner" = 494803304; # (3.5.6)
"Windows App Installer" = 1295203466; # (1.0.16)
"Wireguard" = 1451685025; # (1.0.16) "Wireguard" = 1451685025; # (1.0.16)
### "1Password: Password Manager" = 1511601750; # (8.11.0) Does not seem to insta ### "1Password: Password Manager" = 1511601750; # (8.11.0) Does not seem to insta
}; };
@@ -115,6 +117,13 @@ in
. /nix/var/nix/profiles/default/etc/profile.d/nix.sh . /nix/var/nix/profiles/default/etc/profile.d/nix.sh
fi fi
if [[ "$TERM" == "alacritty" ]]; then
export TERMINFO_DIRS="$HOME/.nix-profile/share/terminfo:/run/current-system/sw/share/terminfo:/nix/var/nix/profiles/default/share/terminfo:/usr/share/terminfo"
if ! infocmp alacritty >/dev/null 2>&1; then
export TERM="xterm-256color"
fi
fi
# GPGAgent for SSH # GPGAgent for SSH
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
+1
View File
@@ -30,6 +30,7 @@ with pkgs;
btop btop
coreutils coreutils
difftastic difftastic
freerdp
htop htop
killall killall
minicom minicom