Compare commits
2 commits
be7159fba8
...
323779d8d8
| Author | SHA1 | Date | |
|---|---|---|---|
| 323779d8d8 | |||
| bb96cea244 |
2 changed files with 14 additions and 8 deletions
|
|
@ -5,8 +5,10 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages =
|
||||
(with pkgs; [ ])
|
||||
(with pkgs; [ opencode-claude-auth ])
|
||||
++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
ccusage-opencode
|
||||
claude-code
|
||||
opencode
|
||||
]);
|
||||
|
||||
|
|
@ -17,11 +19,14 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
homeManager.ai = {
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
settings.theme = "system";
|
||||
homeManager.ai =
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
package = inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
|
||||
settings.theme = "system";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,11 +29,9 @@
|
|||
initExtra = ''
|
||||
unsetopt beep
|
||||
${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin
|
||||
|
||||
# Expand !! and !$ on space (Fish-style)
|
||||
bindkey ' ' magic-space
|
||||
setopt HIST_VERIFY
|
||||
|
||||
# Fish-style Ctrl+Backspace: delete one path segment at a time
|
||||
function backward-kill-path-component() {
|
||||
if [[ "$LBUFFER" == */ ]]; then
|
||||
|
|
@ -48,6 +46,9 @@
|
|||
}
|
||||
zle -N backward-kill-path-component
|
||||
bindkey '^H' backward-kill-path-component
|
||||
# Ctrl+Arrow Keys to move back and forward by a word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
bindkey "^[[1;5C" forward-word
|
||||
'';
|
||||
loginExtra = "${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin";
|
||||
history = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue