update: update config for tatara

This commit is contained in:
FabricSoul 2025-06-03 13:08:41 -04:00
parent 8ce9227801
commit 2a177bcb01
9 changed files with 162 additions and 99 deletions

View file

@ -113,6 +113,7 @@
nerd-fonts.envy-code-r
nerd-fonts.droid-sans-mono
nerd-fonts.departure-mono
font-awesome
wl-clipboard
@ -129,12 +130,10 @@
tmuxPlugins.sensible
tmuxPlugins.vim-tmux-navigator
tmuxPlugins.onedark-theme
nodePackages.prettier
nodePackages.tailwindcss
prettierd
nodejs_23
qbittorrent
go
go-blueprint
gccgo14
hypridle
dprint
@ -160,6 +159,14 @@
tree-sitter
heroic
gimp3
p7zip
rar
nodePackages.localtunnel
typst
pnpm
nodejs_24
openssl
psmisc
];
# Enable home-manager

View file

@ -77,7 +77,7 @@
];
monitor = [
"DP-3, 3440x1440@144.00HZ, 0x0, 1"
"DP-5, 3440x1440@144.00HZ, 0x0, 1"
];
};
};

View file

@ -41,6 +41,7 @@
};
};
plugins = {
hardtime.enable = true;
avante = {
enable = true;
settings = {
@ -72,11 +73,12 @@
prev = "[[";
};
};
# provider = "ollama";
# ollama = {
# endpoint = "http://127.0.0.1:11434";
# model = "gemma3:12b";
# };
provider = "ollama";
auto_suggestions_provider = "ollama";
ollama = {
endpoint = "http://127.0.0.1:11434";
model = "kirito1/qwen3-coder";
};
windows = {
sidebar_header = {
align = "center";
@ -173,6 +175,13 @@
".*_templ%.go$"
];
hidden = true;
mappings = {
n = {
# Normal mode mappings
q = "close"; # Map 'q' to close the telescope window
};
};
};
};
};
@ -268,31 +277,6 @@
formatters_by_ft = {
nix = ["alejandra"];
markdown = ["dprint"];
# Use prettierd first, fallback to prettier
javascript = {
__unkeyed-1 = "prettierd";
__unkeyed-2 = "prettier";
stop_after_first = true;
};
typescript = {
__unkeyed-1 = "prettierd";
__unkeyed-2 = "prettier";
stop_after_first = true;
};
javascriptreact = {
__unkeyed-1 = "prettierd";
__unkeyed-2 = "prettier";
stop_after_first = true;
};
typescriptreact = {
__unkeyed-1 = "prettierd";
__unkeyed-2 = "prettier";
stop_after_first = true;
};
css = ["prettier"];
scss = ["prettier"];
html = ["prettier"];
json = ["prettier"];
# Run on all files
"_" = ["trim_whitespace" "trim_newlines"];
};
@ -301,24 +285,6 @@
lsp_fallback = true;
};
formatters = {
prettier = {
command = "prettier";
args = [
"--plugin=prettier-plugin-tailwindcss"
"--print-width=80"
"--tab-width=2"
"--use-tabs=false"
"--semi=true"
"--single-quote=false"
"--trailing-comma=es5"
"--bracket-spacing=true"
];
};
# Optional: Add prettierd for faster formatting
prettierd = {
command = "prettierd";
args = ["$FILENAME"];
};
};
# Additional useful settings from the docs
log_level = "warn";

View file

@ -16,11 +16,12 @@
"vi-mode"
];
};
initExtra = ''
initContent = ''
export PATH="/home/fabric/.deno/bin:$PATH"
export PATH="/home/fabric/.local/lib/bin:$PATH"
export PATH=$PATH:(go env GOPATH)/bin
export PATH="/home/fabric/.cargo/bin:$PATH"
GOPATH=$HOME/go
PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
PATH="$HOME/.govm/shim:$PATH"
@ -30,6 +31,15 @@
alias n="nvim"
alias gmt="go mod tidy"
alias gmi="go mod init"
alias flake="nix flake"
function y() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
builtin cd -- "$cwd"
fi
rm -f -- "$tmp"
}
'';
prezto = {
tmux = {