Compare commits

..

No commits in common. "323779d8d858503106bdd9069d01cc13a0ddd9fe" and "be7159fba81532ef42760f925f608f51903709c8" have entirely different histories.

2 changed files with 8 additions and 14 deletions

View file

@ -5,10 +5,8 @@
{ inputs, pkgs, ... }: { inputs, pkgs, ... }:
{ {
environment.systemPackages = environment.systemPackages =
(with pkgs; [ opencode-claude-auth ]) (with pkgs; [ ])
++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [ ++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [
ccusage-opencode
claude-code
opencode opencode
]); ]);
@ -19,12 +17,9 @@
]; ];
}; };
}; };
homeManager.ai = homeManager.ai = {
{ inputs, pkgs, ... }:
{
programs.opencode = { programs.opencode = {
enable = true; enable = true;
package = inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
settings.theme = "system"; settings.theme = "system";
}; };
}; };

View file

@ -29,9 +29,11 @@
initExtra = '' initExtra = ''
unsetopt beep unsetopt beep
${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin ${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin
# Expand !! and !$ on space (Fish-style) # Expand !! and !$ on space (Fish-style)
bindkey ' ' magic-space bindkey ' ' magic-space
setopt HIST_VERIFY setopt HIST_VERIFY
# Fish-style Ctrl+Backspace: delete one path segment at a time # Fish-style Ctrl+Backspace: delete one path segment at a time
function backward-kill-path-component() { function backward-kill-path-component() {
if [[ "$LBUFFER" == */ ]]; then if [[ "$LBUFFER" == */ ]]; then
@ -46,9 +48,6 @@
} }
zle -N backward-kill-path-component zle -N backward-kill-path-component
bindkey '^H' 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"; loginExtra = "${lib.getExe pkgs.nix-your-shell} zsh | source /dev/stdin";
history = { history = {