neovim - correct typos 2

This commit is contained in:
2024-03-03 01:41:08 +01:00
parent 78c4624fd6
commit 2e7bcc32ca
4 changed files with 20 additions and 22 deletions

View File

@@ -1,15 +1,18 @@
{ ... }:
{ pkgs, ... }:
{
home.packages = with pkgs; [ fira-code alacritty-theme ];
programs.alacritty = {
enable = true;
settings = {
env = {
"TERM" = "xterm-256color";
};
env = { "TERM" = "xterm-256color"; };
font = {
size = 10;
normal.family = "Fira Code";
bold.family = "Fira Code";
italic.family = "Fira Code";
};
};
};

View File

@@ -15,6 +15,8 @@ let
in {
home.sessionVariables = { EDITOR = "nvim"; };
home.packages = with pkgs; [ nerdfonts ];
programs.neovim = {
enable = true;
package = pkgs.neovim-nightly;

View File

@@ -12,9 +12,7 @@
programs.zsh = {
enable = true;
dotDir = ".config/zsh";
shellAliases = {
update = "sudo nixos-rebuild switch";
};
shellAliases = { update = "sudo nixos-rebuild switch"; };
enableAutosuggestions = true;
enableCompletion = true;
enableVteIntegration = true;
@@ -23,9 +21,7 @@
size = 100000000000;
path = "${config.xdg.dataHome}/zsh/zsh_history";
};
syntaxHighlighting = {
enable = true;
};
syntaxHighlighting = { enable = true; };
initExtra = ''
PROMPT='%F{green}%n%f@%F{magenta}%m%f %F{blue}%B%~%b%f %# '
RPROMPT='[%F{yellow}%?%f]'