Moved cask and and other homebrew to the brewery file

This commit is contained in:
Olaf
2026-07-31 17:47:11 +02:00
parent 984a677327
commit e57c792874
5 changed files with 83 additions and 88 deletions
+1 -1
View File
@@ -137,7 +137,7 @@
"homebrew/homebrew-cask" = homebrew-cask; "homebrew/homebrew-cask" = homebrew-cask;
}; };
mutableTaps = false; mutableTaps = false;
autoMigrate = true; # autoMigrate = true;
}; };
home-manager.sharedModules = [ home-manager.sharedModules = [
# mac-app-util.homeManagerModules.default # mac-app-util.homeManagerModules.default
+79 -4
View File
@@ -6,14 +6,15 @@ homebrew = {
brewfile = true; brewfile = true;
}; };
brews = []; brews = [];
casks = pkgs.callPackage ./casks.nix { };
onActivation = { onActivation = {
cleanup = "check"; cleanup = "uninstall";
autoUpdate = true; autoUpdate = true;
upgrade = true; upgrade = true;
}; };
masApps = {
# These app IDs are from using the mas CLI app # These app IDs are from using the mas CLI app
# mas = mac app store # mas = mac app store
# https://github.com/mas-cli/mas # https://github.com/mas-cli/mas
@@ -24,8 +25,6 @@ homebrew = {
# If you have previously added these apps to your Mac App Store profile (but not installed them on this system), # If you have previously added these apps to your Mac App Store profile (but not installed them on this system),
# you may receive an error message "Redownload Unavailable with This Apple ID". # you may receive an error message "Redownload Unavailable with This Apple ID".
# This message is safe to ignore. # This message is safe to ignore.
masApps = {
"1Password for Safari" = 1569813296; # (8.10.82) "1Password for Safari" = 1569813296; # (8.10.82)
"Affinity Designer 2" = 1616831348; "Affinity Designer 2" = 1616831348;
"Affinity Photo 2: Image Editor" = 1616822987; "Affinity Photo 2: Image Editor" = 1616822987;
@@ -47,6 +46,82 @@ homebrew = {
"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
}; };
casks = [
# Development Tools
"arduino-ide"
"docker-desktop"
"iterm2"
"oracle-jdk"
"visual-studio-code"
# Creative tools
"blender"
"gimp"
"inkscape"
"vcv-rack"
#"affinity-designer"
#"affinity-photo"
#"affinity-publisher"
# Communication Tools
"adium"
"discord"
"signal"
"webex"
"whatsapp"
"zoom"
# Utility Tools
"blackhole-16ch"
"blackhole-2ch"
"box-drive"
"box-tools"
"daisydisk"
"karabiner-elements"
"keybase"
"moonlight"
"spamsieve"
"syncthing-app"
"synology-drive"
# Entertainment Tools
"qobuz"
"steam"
"handbrake-app"
"jellyfin-media-player"
"mediaelch"
"obs"
"vimediamanager"
"vlc"
# Productivity Tools
"1Password"
"bitwarden"
"calibre"
"dbeaver-community"
"element"
"gpg-suite"
"macdown-3000"
"mailmate@beta"
"orcaslicer"
"remanager"
"qmk-toolbox"
"smartsheet"
# "sqlitestudio" # Doesn't work without Rosetta
# "virtualbox" # build error?
"copilot-cli"
# Browsers
"brave-browser"
"firefox"
"google-chrome"
# x11
"xquartz"
];
}; };
} }
-79
View File
@@ -1,79 +0,0 @@
_:
[
# Development Tools
"arduino-ide"
"docker-desktop"
"iterm2"
"oracle-jdk"
"visual-studio-code"
# Creative tools
"blender"
"gimp"
"inkscape"
"vcv-rack"
#"affinity-designer"
#"affinity-photo"
#"affinity-publisher"
# Communication Tools
"adium"
"discord"
"signal"
"webex"
"whatsapp"
"zoom"
# Utility Tools
"blackhole-16ch"
"blackhole-2ch"
"box-drive"
"box-tools"
"daisydisk"
"karabiner-elements"
"keybase"
"spamsieve"
"syncthing-app"
"synology-drive"
# Entertainment Tools
"qobuz"
"steam"
"handbrake-app"
"jellyfin-media-player"
"mediaelch"
"obs"
"vimediamanager"
"vlc"
# Productivity Tools
"1Password"
"bitwarden"
"calibre"
"dbeaver-community"
"element"
"gpg-suite"
"macdown-3000"
"mailmate@beta"
"orcaslicer"
"remanager"
"qmk-toolbox"
"smartsheet"
# "sqlitestudio" # Doesn't work without Rosetta
# "virtualbox" # build error?
"copilot-cli"
# Browsers
"brave-browser"
"firefox"
"google-chrome"
# x11
"xquartz"
]
+1 -1
View File
@@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let
emacsOverlaySha256 = "0pqnl05j86pyvrlqh5kk4sximi749xqgiffq47grw7v98nqd2yin"; emacsOverlaySha256 = "1923mymd50zpz0mq34jpcn6jgq6li92j8wvkarl0y594c01x52g9";
in in
{ {
home-manager.backupFileExtension = "nix-backup"; home-manager.backupFileExtension = "nix-backup";
+2 -3
View File
@@ -20,6 +20,7 @@ in
imports = [ imports = [
./dock ./dock
./brewery.nix
]; ];
# It me # It me
@@ -39,9 +40,7 @@ in
]; ];
}; };
imports = [
./homebrew.nix
];
# Enable home-manager # Enable home-manager
home-manager = { home-manager = {