system/users/modules/editor.nix

34 lines
511 B
Nix
Raw Normal View History

2022-10-12 01:41:32 +03:00
{ config, pkgs, ... }:
let
myneovim = pkgs.myneovim.override {
viAlias = true;
vimAlias = true;
enableDevIcons = true;
enableTabby = true;
2022-10-22 23:38:53 +03:00
enableOrgMode = true;
2022-10-19 11:54:48 +03:00
grammarFileTypes = [
"nix"
"lua"
"bash"
"yaml"
"json"
"rust"
"haskell"
"typescript"
"javascript"
2022-10-22 23:36:56 +03:00
"python"
2022-11-08 11:41:47 +03:00
"sql"
2022-10-19 11:54:48 +03:00
"html"
"pug"
"ledger"
2022-10-22 23:38:53 +03:00
"org"
2022-10-19 11:54:48 +03:00
];
2022-10-12 01:41:32 +03:00
};
in
{
home.packages = [ myneovim ];
home.sessionVariables.EDITOR = "nvim";
}