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:
@@ -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 = [
|
||||
|
||||
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user