update
This commit is contained in:
parent
359c8534f9
commit
1e633dd97d
8 changed files with 105 additions and 67 deletions
|
@ -93,19 +93,19 @@
|
|||
|
||||
fonts.packages = with pkgs; [
|
||||
material-design-icons
|
||||
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
|
||||
dejavu_fonts
|
||||
(nerdfonts.override {
|
||||
fonts = [
|
||||
"DejaVuSansMono"
|
||||
"Ubuntu"
|
||||
"DroidSansMono"
|
||||
"NerdFontsSymbolsOnly"
|
||||
];
|
||||
})
|
||||
|
||||
nerd-fonts.dejavu-sans-mono
|
||||
nerd-fonts.ubuntu
|
||||
nerd-fonts.droid-sans-mono
|
||||
nerd-fonts.symbols-only
|
||||
];
|
||||
|
||||
programs = {
|
||||
steam = {
|
||||
enable = true;
|
||||
|
|
|
@ -136,11 +136,17 @@ with lib;
|
|||
treesitter = {
|
||||
enable = true;
|
||||
nixGrammars = true;
|
||||
settings.highlight.enable = true;
|
||||
settings = {
|
||||
highlight.enable = true;
|
||||
incremental_selection.enable = true;
|
||||
indent.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Git
|
||||
fugitive.enable = true;
|
||||
committia.enable = true;
|
||||
gitsigns.enable = true;
|
||||
|
||||
lualine = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,8 +1,34 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
plugins = {
|
||||
rustaceanvim = {
|
||||
enable = true;
|
||||
rustAnalyzerPackage = pkgs.rust-analyzer;
|
||||
|
||||
settings = {
|
||||
auto_attach = true;
|
||||
server = {
|
||||
standalone = false;
|
||||
default_settings = {
|
||||
rust-analyzer = {
|
||||
inlayHints = {
|
||||
lifetimeElisionHints = {
|
||||
enable = "always";
|
||||
};
|
||||
};
|
||||
check = {
|
||||
command = "clippy";
|
||||
};
|
||||
cachePriming.enable = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lsp = {
|
||||
enable = true;
|
||||
inlayHints = true;
|
||||
keymaps = {
|
||||
lspBuf = {
|
||||
K = "hover";
|
||||
|
@ -23,7 +49,7 @@
|
|||
nil_ls.enable = true; # NixOS
|
||||
dockerls.enable = true;
|
||||
rust_analyzer = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
installCargo = false;
|
||||
installRustc = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue