mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06: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
|
|
@ -3,7 +3,7 @@
|
|||
nautilus
|
||||
gnome-photos
|
||||
];
|
||||
|
||||
|
||||
services.gvfs.enable = true;
|
||||
programs.dconf.enable = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -6,5 +6,7 @@
|
|||
./shell/comma.nix
|
||||
./shell/neovim.nix
|
||||
./shell/zellij.nix
|
||||
./shell/zoxide.nix
|
||||
./shell/aider.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
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}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# ds autocomplete (if its installed)
|
||||
if type -q ds
|
||||
_DS_COMPLETE=fish_source ds | source;
|
||||
end;
|
||||
_DS_COMPLETE=fish_source ds | source
|
||||
end
|
||||
|
|
|
|||
5
modules/shell/zoxide.nix
Normal file
5
modules/shell/zoxide.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
fireproof.home-manager.programs.zoxide = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue