27 lines
530 B
Nix
27 lines
530 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./lsp.nix ./neovim ];
|
|
|
|
home.packages = with pkgs; [ fzf ripgrep ];
|
|
|
|
home.sessionVariables = with pkgs; {
|
|
EDITOR = "nvim";
|
|
FZF_DEFAULT_COMMAND = "${ripgrep}/bin/rg --files --hidden";
|
|
};
|
|
|
|
home.file.".editorconfig".text = ''
|
|
[*]
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 2
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
|
|
[*.md]
|
|
insert_final_newline = false
|
|
trim_trailing_whitespace = false
|
|
'';
|
|
}
|