[cleo] pivot to nix-shell pattern for latest claude and other packages
This commit is contained in:
+11
-1
@@ -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"]
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user