system/users/modules/editor.nix

29 lines
446 B
Nix

{ config, pkgs, ... }:
let
myneovim = pkgs.myneovim.override {
viAlias = true;
vimAlias = true;
enableDevIcons = true;
enableTabby = true;
grammarFileTypes = [
"nix"
"lua"
"bash"
"yaml"
"json"
"rust"
"haskell"
"typescript"
"javascript"
"html"
"pug"
"ledger"
];
};
in
{
home.packages = [ myneovim ];
home.sessionVariables.EDITOR = "nvim";
}