Skip to content

Commit

Permalink
add complete brew list
Browse files Browse the repository at this point in the history
  • Loading branch information
brettinternet committed Nov 11, 2024
1 parent f556ade commit 6f204b8
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 59 deletions.
4 changes: 2 additions & 2 deletions darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
if: '[ -x "$(command -v nix)" ]'

- shell:
- ['./darwin/brew.sh']
- ['[ -x "$(command -v nix)" ] && ./nix/setup.sh']
- ['./darwin/setup.sh']
# - ['[ -x "$(command -v nix)" ] && ./nix/setup.sh']
63 changes: 41 additions & 22 deletions darwin/Brewfile
Original file line number Diff line number Diff line change
@@ -1,37 +1,41 @@
# https://github.com/Homebrew/homebrew-bundle

mas "Xcode", id: 497799835

brew "git"
brew "coreutils"
brew "emacs"
brew "neovim"
brew "node"
brew "elixir"
brew "btop"
# CLI
brew "asdf"
brew "atuin"
brew "bat"
brew "tmux"
brew "broot"
brew "asdf"
brew "terminal-notifier"
brew "nvm"
brew "wget"
brew "qrencode"
brew "virtualenvwrapper"
brew "btop"
brew "coreutils"
brew "elixir"
brew "fd"
brew "git"
brew "go-task"
brew "lsd"
brew "bat"
brew "mas"
brew "neovim"
brew "qrencode"
brew "rustc"
brew "terminal-notifier"
brew "tmux"
brew "trash-cli"
brew "go-task"
brew "atuin"
brew "wget"

brew "nvm"
brew "virtualenvwrapper"

# CLI + GUI
brew "wireguard-tools"

# Custom taps
tap "finestructure/Hummingbird"
brew "finestructure/hummingbird/hummingbird"

cask "bitwarden"
# GUI
cask "balenaetcher"
cask "datagrip"
cask "discord"
cask "docker"
cask "elgato-control-center"
cask "elgato-stream-deck"
cask "font-fira-code"
cask "font-hack-nerd-font"
cask "google-chrome"
Expand All @@ -40,10 +44,25 @@ cask "hammerspoon"
cask "home-assistant"
cask "iterm2"
cask "karabiner-elements"
cask "kopiaui"
cask "maccy"
cask "obs"
cask "plex"
cask "postico"
cask "raspberry-pi-imager"
cask "slack"
cask "stats"
cask "spotify"
cask "telegram"
cask "unnaturalscrollwheels"
cask "vnc-viewer"
cask "visual-studio-code"
cask "vlc"
cask "zoom"

# AppStore
mas "AdGuard for Safari", id: 1440147259
mas "Bitwarden", id: 1352778147 # appstore for safari support
mas "WiFiman", id: 1385561119
mas "Windows App", id: 1295203466 # Microsoft Remote Desktop
mas "Xcode", id: 497799835
10 changes: 2 additions & 8 deletions darwin/brew.sh → darwin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@
brew bundle --file darwin/Brewfile

# Reset application attributes to allow run
xattr -cr /Applications/Chromium.app
xattr -cr /Applications/Yippy.app
xattr -cr /Applications/UnnaturalScrollWheels.app

xcode-select --install

# vim plug
if [[ ! -f ~/.vim/autoload/plug.vim ]]; then
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
if ! xcode-select -p 1>/dev/null; then
xcode-select --install
fi

if ! command -v rustc; then
Expand Down
2 changes: 0 additions & 2 deletions nix/flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Nix annoyances:
# - git add first? 🤔 https://github.com/NixOS/nix/issues/6642
{
description = "My nix-darwin system flake";

Expand Down
46 changes: 22 additions & 24 deletions nix/hosts/kipp/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{ pkgs, ... }: {
nix.settings.experimental-features = "nix-command flakes";

system.defaults = {
dock.autohide = true;
dock.persistent-apps = [];
Expand All @@ -17,33 +15,32 @@
services.nix-daemon.enable = true;
nix.settings.experimental-features = "nix-command flakes";
programs.zsh.enable = true;
system.configurationRevision = self.rev or self.dirtyRev or null;
# Read changelog before upgrading: darwin-rebuild changelog
system.stateVersion = 5;
nixpkgs.hostPlatform = "aarch64-darwin";
time.timeZone = "America/Denver";

# Search packages: nix-env -qaP | grep wget
environment.systemPackages = [
pkgs.asdf
pkgs.atuin
pkgs.bat
pkgs.broot
pkgs.btop
pkgs.coreutils
pkgs.elixir
pkgs.fd
pkgs.git
pkgs.go-task
pkgs.lsd
pkgs.mas
pkgs.neovim
pkgs.qrencode
pkgs.rustc
pkgs.terminal-notifier
pkgs.tmux
pkgs.trash-cli
pkgs.wget
environment.systemPackages = with pkgs; [
asdf
atuin
bat
broot
btop
coreutils
elixir
fd
git
go-task
lsd
mas
neovim
qrencode
rustc
terminal-notifier
tmux
trash-cli
wget
];

homebrew = {
Expand All @@ -60,6 +57,7 @@
casks = [
"balenaetcher"
"datagrip"
"discord"
"docker"
"elgato-control-center"
"elgato-stream-deck"
Expand All @@ -70,7 +68,7 @@
"hammerspoon"
"home-assistant"
"iterm2"
# "karabiner-elements"
"karabiner-elements"
"kopiaui"
"maccy"
"obs"
Expand Down
4 changes: 3 additions & 1 deletion nix/setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

# Note: flake is not accessible through symlink - https://github.com/NixOS/nix/issues/8013
# Nix annoyances:
# - git add first? 🤔 https://github.com/NixOS/nix/issues/6642
# - flake is not accessible through symlink - https://github.com/NixOS/nix/issues/8013

# Install Nix
# https://nixos.org/download/
Expand Down

0 comments on commit 6f204b8

Please sign in to comment.