31 lines
708 B
Nix
31 lines
708 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
inputs,
|
|
config,
|
|
system,
|
|
...
|
|
}:
|
|
let
|
|
myAider = pkgs.aider-chat;
|
|
# FIXME: darwin build failure due to cfn-lint-1.32.1
|
|
# myAider = pkgs.aider-chat.withOptional {
|
|
# withPlaywright = true;
|
|
# withBrowser = true;
|
|
# withHelp = true;
|
|
# withBedrock = false;
|
|
# };
|
|
in
|
|
{
|
|
home.packages = [
|
|
myAider
|
|
pkgs.claude-code
|
|
];
|
|
#nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "claude-code" ]; # nixpkgs.config merging is unfortunately broken
|
|
# TODO: API token e.g. via sops
|
|
# TODO: proper codium and llm enable options
|
|
home.sessionVariables = {
|
|
AIDER_EDITOR = "codium --wait";
|
|
DISABLE_TELEMETRY = 1; # for claude-code
|
|
};
|
|
}
|