workmac: start using some llm coding agents
This commit is contained in:
parent
fd190dbdcd
commit
b1444e8967
2 changed files with 30 additions and 6 deletions
|
@ -6,8 +6,26 @@
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let myAider = pkgs.aider-chat.withOptional {withPlaywright = true; withBrowser = true; withHelp = true; withBedrock = false;};
|
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
|
in
|
||||||
{
|
{
|
||||||
home.packages = [ myAider ];
|
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
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ let
|
||||||
unstable = inputs.nixos-unstable.legacyPackages.${system};
|
unstable = inputs.nixos-unstable.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
imports = [ ./modules/llm.nix ];
|
||||||
|
|
||||||
schmittlauch.packages = {
|
schmittlauch.packages = {
|
||||||
graphics = true;
|
graphics = true;
|
||||||
|
@ -129,7 +130,12 @@ in
|
||||||
ThrottleInterval = 60;
|
ThrottleInterval = 60;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "1password-cli" ];
|
nixpkgs.config.allowUnfreePredicate =
|
||||||
|
pkg:
|
||||||
|
builtins.elem (lib.getName pkg) [
|
||||||
|
"1password-cli"
|
||||||
|
"claude-code"
|
||||||
|
]; # nixpkgs.config merging is unfortunately broken
|
||||||
|
|
||||||
home.stateVersion = "22.05";
|
home.stateVersion = "22.05";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue