trying out television AGAIN. so far so good. also trying CodeCompanion but can't get it working. Cleaning nvim config. ghostty-bin! nice
This commit is contained in:
@@ -26,6 +26,7 @@ in
|
|||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
awscli2
|
awscli2
|
||||||
claude-code
|
claude-code
|
||||||
|
claude-code-acp
|
||||||
opencode # see also: aider; toad;
|
opencode # see also: aider; toad;
|
||||||
fd
|
fd
|
||||||
poppler-utils # pdftotext
|
poppler-utils # pdftotext
|
||||||
@@ -76,6 +77,7 @@ in
|
|||||||
inherit (secrets.openai) OPENAI_API_KEY;
|
inherit (secrets.openai) OPENAI_API_KEY;
|
||||||
inherit (secrets.gemini) GEMINI_API_KEY;
|
inherit (secrets.gemini) GEMINI_API_KEY;
|
||||||
inherit (secrets.gemini) GOOGLE_CLOUD_PROJECT;
|
inherit (secrets.gemini) GOOGLE_CLOUD_PROJECT;
|
||||||
|
inherit (secrets.anthropic) CLAUDE_CODE_OAUTH_TOKEN;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionPath = [
|
home.sessionPath = [
|
||||||
@@ -148,9 +150,9 @@ in
|
|||||||
programs.nix-your-shell.enable = true;
|
programs.nix-your-shell.enable = true;
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
programs.starship.enable = true;
|
programs.starship.enable = true;
|
||||||
# programs.television.enable = true; # WAIT config currently broken
|
programs.television.enable = true; # WAIT config currently broken
|
||||||
# programs.nix-search-tv.enable = true;
|
programs.nix-search-tv.enable = true;
|
||||||
programs.fzf.enable = true; # used by other apps, tmux, etc.
|
# programs.fzf.enable = true; # used by other apps, tmux, etc.
|
||||||
programs.zoxide.enable = true;
|
programs.zoxide.enable = true;
|
||||||
programs.bat.enable = true;
|
programs.bat.enable = true;
|
||||||
programs.ripgrep.enable = true;
|
programs.ripgrep.enable = true;
|
||||||
|
|||||||
10
home-gui.nix
10
home-gui.nix
@@ -1,11 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
# Ghostty not building on my mac at the moment
|
{
|
||||||
let
|
|
||||||
ghostty-mock = pkgs.writeShellScriptBin "gostty-mock" ''
|
|
||||||
true
|
|
||||||
'';
|
|
||||||
in {
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
@@ -29,7 +24,7 @@ in {
|
|||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installBatSyntax = false;
|
installBatSyntax = false;
|
||||||
package = ghostty-mock;
|
package = pkgs.ghostty-bin;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
font-family = "Iosevka NFM";
|
font-family = "Iosevka NFM";
|
||||||
@@ -59,7 +54,6 @@ in {
|
|||||||
};
|
};
|
||||||
buffer_font_size = 16;
|
buffer_font_size = 16;
|
||||||
buffer_font_family = "Iosevka Nerd Font Mono";
|
buffer_font_family = "Iosevka Nerd Font Mono";
|
||||||
# "ui_font_family": "Iosevka Nerd Font";
|
|
||||||
vim = {
|
vim = {
|
||||||
enable_vim_sneak = true;
|
enable_vim_sneak = true;
|
||||||
use_smartcase_find = true;
|
use_smartcase_find = true;
|
||||||
|
|||||||
@@ -33,16 +33,16 @@
|
|||||||
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
{ key = "<leader>e"; action = "<cmd>Neotree toggle<cr>"; }
|
{ key = "<leader>e"; action = "<cmd>Neotree toggle<cr>"; }
|
||||||
{ key = "<leader>ff"; action = "<cmd>Telescope find_files<cr>"; }
|
{ key = "<leader>f"; action = "<cmd>Tv files<cr>"; }
|
||||||
{ key = "<leader>fr"; action = "<cmd>Telescope oldfiles<cr>"; }
|
{ key = "<leader>/"; action = "<cmd>Tv text<cr>"; }
|
||||||
{ key = "<leader>/"; action = "<cmd>Telescope live_grep<cr>"; }
|
|
||||||
{ key = "<leader>bd"; action = "<cmd>bdelete<cr>"; }
|
{ key = "<leader>bd"; action = "<cmd>bdelete<cr>"; }
|
||||||
|
{ key = "<leader>nd"; action = "<cmd>NoiceDismiss<cr>"; }
|
||||||
{ key = "<S-l>"; action = "<cmd>bnext<cr>"; }
|
{ key = "<S-l>"; action = "<cmd>bnext<cr>"; }
|
||||||
{ key = "<S-h>"; action = "<cmd>bprev<cr>"; }
|
{ key = "<S-h>"; action = "<cmd>bprev<cr>"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins = {
|
plugins = {
|
||||||
avante.enable = true;
|
# avante.enable = true;
|
||||||
bufferline.enable = true;
|
bufferline.enable = true;
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -56,9 +56,17 @@
|
|||||||
cmp-nvim-lsp.enable = true;
|
cmp-nvim-lsp.enable = true;
|
||||||
cmp-buffer.enable = true;
|
cmp-buffer.enable = true;
|
||||||
cmp-path.enable = true;
|
cmp-path.enable = true;
|
||||||
|
codecompanion = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
strategies = {
|
||||||
|
chat = { adapter = "claude_code"; };
|
||||||
|
inline = { adapter = "claude_code"; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
commentary.enable = true;
|
commentary.enable = true;
|
||||||
csvview.enable = true;
|
csvview.enable = true;
|
||||||
# conform-nvim.enable = true;
|
|
||||||
dashboard.enable = true;
|
dashboard.enable = true;
|
||||||
emmet.enable = true;
|
emmet.enable = true;
|
||||||
flash.enable = true;
|
flash.enable = true;
|
||||||
@@ -98,7 +106,6 @@
|
|||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
noice.enable = true;
|
noice.enable = true;
|
||||||
nvim-autopairs.enable = true;
|
nvim-autopairs.enable = true;
|
||||||
oil.enable = true;
|
|
||||||
orgmode = {
|
orgmode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.org_agenda_files = "~/Sync/Notes/*";
|
settings.org_agenda_files = "~/Sync/Notes/*";
|
||||||
@@ -106,7 +113,6 @@
|
|||||||
};
|
};
|
||||||
persistence.enable = true;
|
persistence.enable = true;
|
||||||
vim-surround.enable = true;
|
vim-surround.enable = true;
|
||||||
telescope.enable = true;
|
|
||||||
tmux-navigator.enable = true;
|
tmux-navigator.enable = true;
|
||||||
todo-comments.enable = true;
|
todo-comments.enable = true;
|
||||||
treesitter.enable = true;
|
treesitter.enable = true;
|
||||||
@@ -119,6 +125,7 @@
|
|||||||
};
|
};
|
||||||
trouble.enable = true;
|
trouble.enable = true;
|
||||||
ts-autotag.enable = true;
|
ts-autotag.enable = true;
|
||||||
|
tv.enable = true;
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
which-key.enable = true;
|
which-key.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user