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
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,7 +1,6 @@
|
||||||
result
|
|
||||||
result/
|
|
||||||
secrets/yubikey-identity.txt
|
secrets/yubikey-identity.txt
|
||||||
|
|
||||||
# Avoid leaking ssh keys
|
# Avoid leaking ssh keys
|
||||||
**/id_ed25519
|
**/id_ed25519
|
||||||
**/id_rsa
|
**/id_rsa
|
||||||
|
.aider*
|
||||||
|
|
|
||||||
|
|
@ -6,5 +6,7 @@
|
||||||
./shell/comma.nix
|
./shell/comma.nix
|
||||||
./shell/neovim.nix
|
./shell/neovim.nix
|
||||||
./shell/zellij.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)
|
# ds autocomplete (if its installed)
|
||||||
if type -q ds
|
if type -q ds
|
||||||
_DS_COMPLETE=fish_source ds | source;
|
_DS_COMPLETE=fish_source ds | source
|
||||||
end;
|
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;
|
||||||
|
};
|
||||||
|
}
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,8 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 UqEUow ZTWzzn7Ra3xjMUJkRm+lK+HMdqxCM1XiDneKWk6IoUY
|
||||||
|
7HIwLVhsJftGWMjhCQddz/MMqnpv7UoR1QzEXUfqVqo
|
||||||
|
-> ;7rhkFK-grease
|
||||||
|
2fBbpwA7
|
||||||
|
--- Dj4NFjzl0zb+Wxl+j2eChRWowe4PAGkag//fwnjiiAs
|
||||||
|
Æ%®„ÿÞŒéÐ?èÅŠ¬øò$qU1Pk%]Cì:ýODŠxÉ¡yŽóÌy†,[´Dm NZÑc *Å
pÑ;è˜Þ †3R}"P8Šáö
|
||||||
|
öö¬¬³<C2AC>q UP/0X9q2Õ ŽÙh}¾è<C2BE>Èòvåºó!‹©ñPŒG#OŸëËö½¤4Œh¦öÕ‚lÊ^@^J÷ ¨<>/2K
|
||||||
Binary file not shown.
Binary file not shown.
10
secrets/llm-api-key.env.age
Normal file
10
secrets/llm-api-key.env.age
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> X25519 PkSPG1ZMXK0ArIw/8DE10dbf4bIh0539bjWzOCjDIFs
|
||||||
|
TtWsG59L7YoHVO+nl3lzDSEFFljVMMWef9QkOkZKmT4
|
||||||
|
-> piv-p256 q3LNVw AvnoJDyUKLYCgIDWN4ey0UhENnnfJLpE/6jMh7iiwTZO
|
||||||
|
oVvNazfISZ4P027JK9wSMR1XQmO2oCVOf162SHL1k6o
|
||||||
|
-> Z#uEQzx-grease y<&| pho{
|
||||||
|
PJKNrTEwLc21FkpGIa+FNaOJvzFJ
|
||||||
|
--- efk3YmjrmLWXw5GSNc9NBhtpOqQWaK6d1rs/7ZlQjBg
|
||||||
|
mBÊ¥FUi§J!©¿ÂOG¯åÐ÷·†ª'¬/}÷”挔lœÛ¾Õ™£<E284A2>Ct
…y£7ãršô^a95gk3ÙIüüaŠ&36{ó‹èµ)«¨ïì´_šç^ŸnGÚžö±êßm‹
|
||||||
|
»WYÜ~>«bÐz{úøxƒZ@<07>•1-<2D>)t–é5`ÿì&¾Oð¿%ˆ§È`ø“?pýÔ2
|
||||||
Loading…
Add table
Add a link
Reference in a new issue