[cleo] claude config + new packages

This commit is contained in:
Matthew Bessette
2026-10-02 15:42:56 -04:00
parent d9ae284378
commit 71ae57dd92
11 changed files with 285 additions and 29 deletions
+19 -19
View File
@@ -15,6 +15,8 @@ let
rebuildCmd = if pkgs.stdenv.isDarwin then "darwin-rebuild" else "nixos-rebuild";
in
{
imports = [ ./module.claude.nix ];
home.stateVersion = lib.mkDefault "26.05";
home.username = userConfig.username;
home.homeDirectory = userConfig.homeDirectory;
@@ -41,25 +43,23 @@ in
vault = "${userConfig._1PassKeyVault}"
'';
xdg.configFile."claude/settings.json".source = pkgs.writeText "claude-settings.json" (
builtins.toJSON {
"$schema" = "https://json.schemastore.org/claude-code-settings.json";
theme = "dark";
agent = "plan";
denyCommands = [ "code --install-extension*" ];
additionalDirectories = [ "/tmp" ];
autoMemoryEnabled = false;
effortLevel = "medium";
fastModePerSessionOptIn = true;
feedbackSurveyRate = 0;
model = "opusplan";
showClearContextOnPlanAccept = false;
statusLine = {
type = "command";
command = "claude-statusline prompt";
};
}
);
my.claude.settings = {
"$schema" = "https://json.schemastore.org/claude-code-settings.json";
theme = "dark";
agent = "plan";
denyCommands = [ "code --install-extension*" ];
additionalDirectories = [ "/tmp" ];
autoMemoryEnabled = false;
effortLevel = "medium";
fastModePerSessionOptIn = true;
feedbackSurveyRate = 0;
model = "opusplan";
showClearContextOnPlanAccept = false;
statusLine = {
type = "command";
command = "claude-statusline prompt";
};
};
xdg.configFile."claude-statusline/config.toml".text = ''
format = "$directory | $git_branch | $model | $cost | $context | $usage"