system/users/modules/editor.nix

16 lines
244 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;
};
in
{
home.packages = [ myneovim ];
home.sessionVariables.EDITOR = "nvim";
}