Updates and tweaks

master
Dustin Swan 19 hours ago
parent 8c98bfea53
commit ba2a175788
Signed by: dustinswan
GPG Key ID: AB49BD6B2B3A6377

@ -7,3 +7,4 @@ I'm going all in on [Nix](https://nixos.org/) & [home-manager](https://github.co
- **home-mail**: email, contacts & calendar - **home-mail**: email, contacts & calendar
- **home-mac**: Mac-only - **home-mac**: Mac-only
- **home-linux**: Linux-only - **home-linux**: Linux-only
- **home-nvim**: NixVim

@ -18,7 +18,7 @@ in
imports = [ imports = [
<catppuccin/modules/home-manager> <catppuccin/modules/home-manager>
nixvim.homeManagerModules.nixvim nixvim.homeModules.nixvim
./home-nvim.nix ./home-nvim.nix
]; ];
@ -33,9 +33,10 @@ in
bitwarden-cli bitwarden-cli
awscli2 awscli2
claude-code claude-code
aider-chat opencode
pandoc
fd fd
poppler-utils
xan # e.g. xan slice 3,2 file.csv | xan behead | xan view -An
ngrok ngrok
ddev ddev
mkcert mkcert
@ -44,8 +45,12 @@ in
nodejs nodejs
typescript typescript
pnpm pnpm
rustc
cargo
uv uv
blade-formatter blade-formatter
nil
nixd
nodePackages.typescript-language-server nodePackages.typescript-language-server
nodePackages.stylelint nodePackages.stylelint
nodePackages.js-beautify nodePackages.js-beautify
@ -65,6 +70,8 @@ in
EDITOR = "vim"; EDITOR = "vim";
BROWSER = "open"; BROWSER = "open";
inherit (secrets.openai) OPENAI_API_KEY; inherit (secrets.openai) OPENAI_API_KEY;
inherit (secrets.gemini) GEMINI_API_KEY;
inherit (secrets.gemini) GOOGLE_CLOUD_PROJECT;
}; };
home.sessionPath = [ home.sessionPath = [
@ -79,7 +86,7 @@ in
catppuccin = { catppuccin = {
enable = true; enable = true;
flavor = "mocha"; flavor = "mocha";
zed.flavor = "latte"; # TODO waiting for auto zed.enable = false;
}; };
programs.home-manager.enable = true; programs.home-manager.enable = true;
@ -95,7 +102,7 @@ in
terminal = "tmux-256color"; terminal = "tmux-256color";
plugins = with pkgs.tmuxPlugins; [ plugins = with pkgs.tmuxPlugins; [
sensible 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 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 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 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 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 # open # highlight: o -> open; ctrl-o -> $EDITOR; S -> web search
vim-tmux-navigator # ctrl-h, -j, -k, -l -> move between tmux and vim splits 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 fingers # prefix F -> copy/open/edit items on screen by letter
]; ];
# Remove that SHELL thing when fixed upstream # Remove that SHELL thing when fixed upstream
@ -143,10 +150,12 @@ in
programs.direnv.enable = true; programs.direnv.enable = true;
programs.starship.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.zoxide.enable = true;
programs.bat.enable = true; programs.bat.enable = true;
programs.ripgrep.enable = true; programs.ripgrep.enable = true;
programs.yazi.enable = true;
programs.eza = { programs.eza = {
enable = true; enable = true;
@ -160,6 +169,7 @@ in
programs.ssh = { programs.ssh = {
enable = true; enable = true;
enableDefaultConfig = false; # TODO: remove when defaults change
matchBlocks = { matchBlocks = {
dustinswan = { dustinswan = {
inherit (secrets.dustinswan) user; inherit (secrets.dustinswan) user;
@ -223,8 +233,6 @@ in
programs.keychain = { programs.keychain = {
enable = true; enable = true;
inheritType = "any";
agents = [ "gpg" "ssh" ];
keys = [ "id_rsa" "id_rsa_mr" "2B3A6377" ]; keys = [ "id_rsa" "id_rsa_mr" "2B3A6377" ];
}; };
} }

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
# TODO: Ghostty not building on my mac at the moment # Ghostty not building on my mac at the moment
let let
ghostty-mock = pkgs.writeShellScriptBin "gostty-mock" '' ghostty-mock = pkgs.writeShellScriptBin "gostty-mock" ''
true true
@ -11,7 +11,7 @@ in {
programs.halloy = { programs.halloy = {
enable = true; enable = true;
settings = { settings = {
theme = "catppuccin-mocha"; # theme = "catppuccin-mocha";
servers.liberachat = { servers.liberachat = {
nickname = "sw4n"; nickname = "sw4n";
@ -31,8 +31,8 @@ in {
font-family = "Iosevka NFM"; font-family = "Iosevka NFM";
font-size = 16; font-size = 16;
font-thicken = true; font-thicken = true;
# theme = "dark:catppuccin-mocha,light:catppuccin-latte"; # TODO: waiting on all cli apps to handle auto switching too theme = "dark:catppuccin-mocha,light:catppuccin-latte"; # TODO: waiting on all cli apps to handle auto switching too
theme = "catppuccin-mocha"; # theme = "catppuccin-mocha";
background-opacity = 0.95; background-opacity = 0.95;
background-blur-radius = 15; background-blur-radius = 15;
window-padding-x = 12; window-padding-x = 12;
@ -41,7 +41,6 @@ in {
macos-titlebar-style = "tabs"; macos-titlebar-style = "tabs";
macos-option-as-alt = "left"; macos-option-as-alt = "left";
copy-on-select = "clipboard"; copy-on-select = "clipboard";
# keybind = "global:cmd+grave_accent=toggle_quick_terminal";
}; };
}; };
@ -51,8 +50,8 @@ in {
vim_mode = true; vim_mode = true;
theme = { theme = {
mode = "system"; mode = "system";
# light = "Catppuccin Latte"; light = "Catppuccin Latte";
# dark = "Catppuccin Frappé"; dark = "Catppuccin Frappé";
}; };
buffer_font_size = 16; buffer_font_size = 16;
buffer_font_family = "Iosevka Nerd Font Mono"; buffer_font_family = "Iosevka Nerd Font Mono";

@ -57,6 +57,7 @@
cmp-buffer.enable = true; cmp-buffer.enable = true;
cmp-path.enable = true; cmp-path.enable = true;
commentary.enable = true; commentary.enable = true;
csvview.enable = true;
# conform-nvim.enable = true; # conform-nvim.enable = true;
dashboard.enable = true; dashboard.enable = true;
emmet.enable = true; emmet.enable = true;

Loading…
Cancel
Save