refactor: rename homebrew.nix to apps.nix (add nix GUI pkgs, cleanup=none)

This commit is contained in:
mikl 2026-07-02 14:45:15 +03:00
commit ec0e60a835
7 changed files with 144 additions and 40 deletions

45
hosts/poppy/apps.nix Normal file
View file

@ -0,0 +1,45 @@
{ 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"
];
casks = [
"google-chrome"
"google-drive"
"marta"
"vscodium"
"github"
"docker-desktop"
"ollama-app"
"obsidian"
"anki"
"calibre"
"telegram"
"maccy"
"mos"
"caffeine"
"lunacy"
"skim"
"markedit"
"amneziavpn"
"element"
"prismlauncher"
];
};
# Nix GUI пакеты (нет в brew)
home.packages = with pkgs; [
aseprite # пиксельный редактор
pureref # reference board
];
}