nix-darwin/modules/apps.nix
Poby fed3a5226a
feat: add python 3.13 as mise global
format with alejandra
2026-03-15 02:50:29 +09:00

62 lines
1.1 KiB
Nix

{
pkgs,
config,
username,
homebrew-core,
homebrew-cask,
...
}: {
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
git
neovim
just # use Justfile to simplify nix-darwin's commands
tree
fastfetchMinimal
];
environment.variables.EDITOR = "nvim";
nix-homebrew = {
enable = true;
enableRosetta = true;
user = username;
taps = {
"homebrew/homebrew-core" = homebrew-core;
"homebrew/homebrew-cask" = homebrew-cask;
};
mutableTaps = false;
};
homebrew = {
enable = true;
onActivation = {
autoUpdate = true;
cleanup = "zap";
};
# Applications to install from Mac App Store using mas.
masApps = {
KakaoTalk = 869223134;
Across = 6444851827;
Bitwarden = 1352778147;
};
taps = builtins.attrNames config.nix-homebrew.taps;
# WARNING only include those not in nixpkgs
brews = [
"gemini-cli"
];
casks = [
"batfi"
"hammerspoon"
"shottr" # stable version dmg link not found
"arc"
"codex"
"claude-code"
];
};
}