Reduce vim startup time, use nerd font fira code

This commit is contained in:
Artemis Tosini 2023-09-08 20:15:02 +00:00
parent 9398cdcecb
commit 531b638bdc
Signed by: artemist
GPG key ID: EE5227935FE3FF18
6 changed files with 13 additions and 18 deletions

View file

@ -3,7 +3,7 @@ scrolling:
font:
normal:
family: Fira Code
family: FiraCode Nerd Font
size: 8
shell:

View file

@ -5,7 +5,7 @@
enable = true;
font = {
package = pkgs.fira-code;
name = "Fira Code";
name = "FiraCode Nerd Font";
size = 9;
};
settings = {

View file

@ -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 =

View file

@ -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

View file

@ -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 = {

View file

@ -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 = {