nix-config/modules/homebrew/default.nix
2026-03-05 22:49:08 +01:00

59 lines
1.1 KiB
Nix

{ config, ... }:
let
username = config.flake.globalConfig.username;
in
{
flake.modules.darwin.homebrew =
{ pkgs, ... }:
{
nix-homebrew = {
enable = true;
user = username;
autoMigrate = true;
};
homebrew = {
user = username;
enable = true;
onActivation = {
autoUpdate = true;
upgrade = true;
cleanup = "zap";
};
brews = [
"go"
"mas"
"yt-dlp"
];
casks = [
"font-victor-mono"
"font-victor-mono-nerd-font"
"vlc"
"ghostty"
"hiddenbar"
"eurkey"
"karabiner-elements"
"caffeine"
"raycast"
"spotify"
"keyboard-cowboy"
"krita"
"darktable"
"beekeeper-studio"
"qbittorrent"
"tpvirtual"
];
masApps = {
Bitwarden = 1352778147;
"Yesterday For Old Reddit" = 1603279883;
"Final Cut Pro" = 424389933;
Wireguard = 1451685025;
Pages = 409201541;
};
};
};
}