[cleo] pivot to nix-shell pattern for latest claude and other packages

This commit is contained in:
Matthew Bessette
2026-09-24 12:45:13 -04:00
parent 11f31fbb28
commit d9ae284378
4 changed files with 21 additions and 19 deletions
+11 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, inputs, vars, ... }:
{ config, pkgs, vars, ... }:
{
imports = [
./programs.vscode.nix
@@ -14,6 +14,12 @@
programs.zsh.shellAliases = {
laws = "aws --endpoint=http://localhost:4566";
assume = "source $(brew --prefix)/bin/assume";
# Always runs the latest claude-code from the flake, no local install/update needed.
claude = "nix run github:sadjow/claude-code-nix";
# Same pattern for process-compose.
process-compose = "nix run github:F1bonacc1/process-compose --";
# Same pattern for treehouse.
treehouse = "nix run github:kunchenguid/treehouse --";
};
programs.zsh.initContent = ''
@@ -109,4 +115,8 @@
tuiSidebarPanel.enabled = true;
maintainerAnnouncements = { enabled = false; home = false; };
};
xdg.configFile."treehouse/config.toml".text = ''
[hooks]
post_create = ["./conditional-package-manage.sh"]
'';
}