mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 23:03:40 +00:00
44 lines
711 B
Nix
44 lines
711 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
checkBrew = "command -v brew > /dev/null";
|
|
in
|
|
{
|
|
environment = {
|
|
extraInit = ''
|
|
${checkBrew} || >&2 echo "brew is not installed (install it via https://brew.sh)"
|
|
'';
|
|
};
|
|
|
|
homebrew = {
|
|
enable = true;
|
|
autoUpdate = true;
|
|
global = {
|
|
brewfile = true;
|
|
noLock = true;
|
|
};
|
|
|
|
brews = [
|
|
"aws-sam-cli"
|
|
"fabianishere/personal/pam_reattach"
|
|
"netdata"
|
|
];
|
|
|
|
casks = [
|
|
"1password"
|
|
"visual-studio-code"
|
|
];
|
|
|
|
taps = [
|
|
"aws/tap"
|
|
"homebrew/bundle"
|
|
"homebrew/cask"
|
|
"homebrew/cask-fonts"
|
|
"homebrew/cask-versions"
|
|
"homebrew/core"
|
|
"homebrew/services"
|
|
];
|
|
|
|
};
|
|
}
|