nix-config/hosts/poppy/apps.nix
mikl c21268fb9b fix: use homebrew node instead of nix read-only nodejs
- nodejs from nixpkgs is read-only, breaks pi-coding-agent internal npm install
- Use homebrew node (writable) for proper npm/pnpm global installs
- Remove pi-node hardcoded path hack from PATH
2026-07-10 23:20:02 +03:00

49 lines
1.3 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ pkgs, ... }:
{
# All poppy apps (brew casks + nix GUI packages)
# импортируется только в hosts/poppy/default.nix
# Brew casks (приложения которых нет в nixpkgs)
homebrew = {
enable = true;
onActivation.cleanup = "none"; # "none" для безопасности, "zap" после полного аудита
taps = [];
brews = [
"kew"
"tea" # Forgejo/Gitea CLI
"node" # Node.js для pi-coding-agent (не из nix — read-only)
];
casks = [
"google-chrome"
"google-drive"
"marta"
"vscodium"
"github"
"docker-desktop"
"ollama-app"
"obsidian"
"anki"
"calibre"
"telegram"
"maccy"
"mos"
"caffeine"
"lunacy"
"skim"
"mark-text"
"amneziavpn"
"element"
"prismlauncher"
];
};
# Nix GUI пакеты (нет в brew)
# pureref — только x86_64-darwin, не работает на M1
# aseprite — в nixpkgs, но компилируется с нуля (10-30 мин на M1)
# раскомментировать после первой полной сборки (см. docs/apps.md)
environment.systemPackages = with pkgs; [
# aseprite # пиксельный редактор (uncomment after first build)
];
}