nixconfigs/home/modules/llm.nix
Trolli Schmittlauch b0093ef58f remove deprecated system passing
fixes
'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'

Wherever possible, it's best to reference the hostPlatform of the
nixpkgs instance directly via `config`. This is only possible in NixOS
systems though, for standalon home-manager configs we need to get that
value through `pkgs.stdenv`.
2025-12-29 02:25:50 +01:00

30 lines
698 B
Nix

{
pkgs,
lib,
inputs,
config,
...
}:
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
};
}