From 459eb0ccf3520ad6ce031914da02cf2a18c0b10e Mon Sep 17 00:00:00 2001 From: James Walker Date: Sun, 19 Dec 2021 11:59:04 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20epicurus:=20homeberw=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/epicurus/darwin-configuration.nix | 2 +- hosts/epicurus/homebrew.nix | 45 +++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 hosts/epicurus/homebrew.nix diff --git a/hosts/epicurus/darwin-configuration.nix b/hosts/epicurus/darwin-configuration.nix index dba932e..f634c69 100644 --- a/hosts/epicurus/darwin-configuration.nix +++ b/hosts/epicurus/darwin-configuration.nix @@ -4,7 +4,7 @@ let "https://github.com/walkah/dotfiles/archive/main.tar.gz"; in { - imports = [ ]; + imports = [ ./homebrew.nix ]; # List packages installed in system profile. To search by name, run: # $ nix-env -qaP | grep wget diff --git a/hosts/epicurus/homebrew.nix b/hosts/epicurus/homebrew.nix new file mode 100644 index 0000000..5270580 --- /dev/null +++ b/hosts/epicurus/homebrew.nix @@ -0,0 +1,45 @@ +{ config, lib, pkgs, ... }: + +{ + homebrew = { + enable = true; + brewPrefix = "/opt/homebrew/bin"; + autoUpdate = true; + cleanup = "zap"; + global = { + brewfile = true; + noLock = true; + }; + + taps = [ + "homebrew/cask" + "homebrew/cask-drivers" + "homebrew/cask-fonts" + "homebrew/services" + ]; + + brews = [ "code-server" "coreutils" "mosh" ]; + + casks = [ + "1password" + "alfred" + "docker" + "font-jetbrains-mono" + "font-jetbrains-mono-nerd-font" + "gpg-suite" + "ipfs" + "keybase" + "plex-media-server" + "stats" + "syncthing" + "synology-drive" + ]; + + masApps = { + Bumpr = 1166066070; + Magnet = 441258766; + Tailscale = 1475387142; + Xcode = 497799835; + }; + }; +} \ No newline at end of file