Reduce vim startup time, use nerd font fira code
This commit is contained in:
parent
9398cdcecb
commit
531b638bdc
|
@ -3,7 +3,7 @@ scrolling:
|
|||
|
||||
font:
|
||||
normal:
|
||||
family: Fira Code
|
||||
family: FiraCode Nerd Font
|
||||
size: 8
|
||||
|
||||
shell:
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
enable = true;
|
||||
font = {
|
||||
package = pkgs.fira-code;
|
||||
name = "Fira Code";
|
||||
name = "FiraCode Nerd Font";
|
||||
size = 9;
|
||||
};
|
||||
settings = {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
|
||||
{
|
||||
systemd.tmpfiles.rules =
|
||||
lib.mapAttrsToList (key: value: "L+ /etc/channels/${key} - - - - ${value.outPath}")
|
||||
inputs;
|
||||
systemd.tmpfiles.rules = lib.mapAttrsToList
|
||||
(key: value: "L+ /etc/channels/${key} - - - - ${value.outPath}") inputs;
|
||||
|
||||
nix = {
|
||||
nixPath =
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
fonts = {
|
||||
|
@ -12,6 +12,7 @@
|
|||
# Mono fonts
|
||||
dejavu_fonts
|
||||
fira-code
|
||||
fira-code-nerdfont
|
||||
iosevka
|
||||
source-code-pro
|
||||
source-sans-pro
|
||||
|
|
|
@ -18,15 +18,7 @@
|
|||
nix.enable = true;
|
||||
fugitive.enable = true;
|
||||
gitgutter.enable = true;
|
||||
airline = {
|
||||
enable = true;
|
||||
powerline = true;
|
||||
theme = "dark";
|
||||
};
|
||||
};
|
||||
globals = {
|
||||
"airline#extensions#tabline#enabled" = 1;
|
||||
"airline#extensions#tabline#formatter" = "unique_tail_improved";
|
||||
lualine.enable = true;
|
||||
};
|
||||
extraPlugins = with pkgs.vimPlugins; [
|
||||
vim-fetch
|
||||
|
@ -34,7 +26,6 @@
|
|||
vim-flatbuffers
|
||||
vim-nftables
|
||||
vim-protobuf
|
||||
vim-sensible
|
||||
vim-toml
|
||||
];
|
||||
options = {
|
||||
|
@ -48,7 +39,11 @@
|
|||
};
|
||||
|
||||
# LSP
|
||||
plugins.rust-tools.enable = true;
|
||||
plugins.rust-tools = {
|
||||
enable = true;
|
||||
server.standalone = false;
|
||||
};
|
||||
plugins.clangd-extensions.enable = true;
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
enable = true;
|
||||
settings.main = {
|
||||
shell = "/run/current-system/sw/bin/fish";
|
||||
font = "Fira Code:size=6";
|
||||
font = "FiraCode Nerd Font:size=6";
|
||||
};
|
||||
};
|
||||
wayland.windowManager.sway.config = {
|
||||
|
|
Loading…
Reference in a new issue