chore: routine maintenance

This commit is contained in:
danny 2025-11-23 16:24:38 +08:00
parent c45ba82b90
commit c7743490a7
75 changed files with 1200 additions and 634 deletions

View file

@ -28,16 +28,25 @@ in
imports = [
./plugins/snacks-nvim
./plugins/lualine
./plugins/leetcode
./extra-lsp.nix
];
home.packages = with pkgs; [
(rust-bin.stable.latest.default.override {
extensions = [ "rust-src" ];
})
];
programs.nvf = {
enable = true;
settings = {
vim = {
enableLuaLoader = true;
vimAlias = true;
extraPackages = with pkgs; [ nixfmt ];
extraPackages = with pkgs; [
nixfmt
];
clipboard = {
enable = true;
@ -380,12 +389,9 @@ in
enable = true;
lsp = {
enable = true;
package = [
"rust-analyzer"
];
opts = ''
['rust-analyzer'] = {
cargo = {allFeature = true},
cargo = { allFeature = true },
checkOnSave = true,
procMacro = {
enable = true,
@ -528,7 +534,8 @@ in
yazi-nvim = {
enable = true;
mappings.openYaziDir = "<leader>e";
mappings.openYaziDir = "<leader>-";
mappings.openYazi = "<leader>e";
};
images = {