Updates and tweaks
This commit is contained in:
26
home-cli.nix
26
home-cli.nix
@@ -18,7 +18,7 @@ in
|
||||
|
||||
imports = [
|
||||
<catppuccin/modules/home-manager>
|
||||
nixvim.homeManagerModules.nixvim
|
||||
nixvim.homeModules.nixvim
|
||||
./home-nvim.nix
|
||||
];
|
||||
|
||||
@@ -33,9 +33,10 @@ in
|
||||
bitwarden-cli
|
||||
awscli2
|
||||
claude-code
|
||||
aider-chat
|
||||
pandoc
|
||||
opencode
|
||||
fd
|
||||
poppler-utils
|
||||
xan # e.g. xan slice 3,2 file.csv | xan behead | xan view -An
|
||||
ngrok
|
||||
ddev
|
||||
mkcert
|
||||
@@ -44,8 +45,12 @@ in
|
||||
nodejs
|
||||
typescript
|
||||
pnpm
|
||||
rustc
|
||||
cargo
|
||||
uv
|
||||
blade-formatter
|
||||
nil
|
||||
nixd
|
||||
nodePackages.typescript-language-server
|
||||
nodePackages.stylelint
|
||||
nodePackages.js-beautify
|
||||
@@ -65,6 +70,8 @@ in
|
||||
EDITOR = "vim";
|
||||
BROWSER = "open";
|
||||
inherit (secrets.openai) OPENAI_API_KEY;
|
||||
inherit (secrets.gemini) GEMINI_API_KEY;
|
||||
inherit (secrets.gemini) GOOGLE_CLOUD_PROJECT;
|
||||
};
|
||||
|
||||
home.sessionPath = [
|
||||
@@ -79,7 +86,7 @@ in
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
flavor = "mocha";
|
||||
zed.flavor = "latte"; # TODO waiting for auto
|
||||
zed.enable = false;
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
@@ -95,7 +102,7 @@ in
|
||||
terminal = "tmux-256color";
|
||||
plugins = with pkgs.tmuxPlugins; [
|
||||
sensible
|
||||
# resurrect # prefix ctrl-s to save sessions; prefix ctrl-r to restore
|
||||
resurrect # prefix ctrl-s to save sessions; prefix ctrl-r to restore
|
||||
continuum # automatically save the session every 15 minutes
|
||||
sessionist # prefix g to switch sessions; prefix C to create; prefix X to kill; prefix S to switch back; prefix @ to promote; prefix t f to join marked pane
|
||||
pain-control # prefix |, -, \, _ to split; prefix h, j, k, l to switch; prefix H, J, K, L to resize; prefix <, > to move windows
|
||||
@@ -103,7 +110,7 @@ in
|
||||
yank # prefix y -> copy command line to clipboard; prefix Y -> copy pwd to clipboard; search + y -> copy to clipboard
|
||||
# open # highlight: o -> open; ctrl-o -> $EDITOR; S -> web search
|
||||
vim-tmux-navigator # ctrl-h, -j, -k, -l -> move between tmux and vim splits
|
||||
extrakto # prefix tab -> fuzzy find text on screen; enter to copy; tab to paste
|
||||
# extrakto # prefix tab -> fuzzy find text on screen; enter to copy; tab to paste
|
||||
fingers # prefix F -> copy/open/edit items on screen by letter
|
||||
];
|
||||
# Remove that SHELL thing when fixed upstream
|
||||
@@ -143,10 +150,12 @@ in
|
||||
|
||||
programs.direnv.enable = true;
|
||||
programs.starship.enable = true;
|
||||
programs.television.enable = true;
|
||||
# programs.television.enable = true; # WAIT config currently broken
|
||||
programs.fzf.enable = true; # used by other apps, tmux, etc.
|
||||
programs.zoxide.enable = true;
|
||||
programs.bat.enable = true;
|
||||
programs.ripgrep.enable = true;
|
||||
programs.yazi.enable = true;
|
||||
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
@@ -160,6 +169,7 @@ in
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
enableDefaultConfig = false; # TODO: remove when defaults change
|
||||
matchBlocks = {
|
||||
dustinswan = {
|
||||
inherit (secrets.dustinswan) user;
|
||||
@@ -223,8 +233,6 @@ in
|
||||
|
||||
programs.keychain = {
|
||||
enable = true;
|
||||
inheritType = "any";
|
||||
agents = [ "gpg" "ssh" ];
|
||||
keys = [ "id_rsa" "id_rsa_mr" "2B3A6377" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user