Upgrade flakes, use NVIDIA beta, add Zed inlay hints

- Bumped versions in flake.lock (affinity‑nix, nur‑expressions,
home‑manager, nixpkgs, stylix). - Switched NVIDIA driver package from
stable to beta. - Added Zed `inlay_hints` configuration and
rust‑analyzer inlayHints options.
This commit is contained in:
2025-11-29 19:38:27 +01:00
parent 3f14984072
commit d80266e89a
4 changed files with 38 additions and 16 deletions

View File

@@ -16,6 +16,16 @@ _: {
enabled = true;
max_severity = "error";
};
inlay_hints = {
enabled = true;
show_type_hints = true;
show_parameter_hints = true;
show_other_hints = true;
show_background = false;
edit_debounce_ms = 700;
scroll_debounce_ms = 50;
toggle_on_modifiers_press = null;
};
};
imports = [

View File

@@ -14,6 +14,18 @@
"if [ -e flake.nix ]; then nix develop --command rust-analyzer; else rust-analyzer; fi"
];
};
initialization_options = {
inlayHints = {
maxLength = null;
lifetimeElisionHints = {
enable = "skip_trivial";
useParameterNames = true;
};
closureReturnTypeHints = {
enable = "always";
};
};
};
};
nixd = {
initialization_options.formatting.command = [