mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
feat: add aider and zoxide
This commit is contained in:
parent
61c5b14142
commit
e1c45442b8
12 changed files with 55 additions and 6 deletions
25
modules/shell/aider.nix
Normal file
25
modules/shell/aider.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
pkgsUnstable,
|
||||
username,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
age.secrets.llm-api-key = {
|
||||
rekeyFile = ../../secrets/llm-api-key.env.age;
|
||||
mode = "0600";
|
||||
owner = username;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgsUnstable; [
|
||||
aider-chat
|
||||
];
|
||||
fireproof.home-manager = {
|
||||
home.file.".aider.conf.yml".text = ''
|
||||
# Aider configuration file
|
||||
# This file is used to configure the Aider chat client
|
||||
# It is a YAML file
|
||||
sonnet: true
|
||||
env-file: ${config.age.secrets.llm-api-key.path}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue