neovim related home variables should be set with the neovim module
parent
3e60e27695
commit
84b7c70e27
5
home.nix
5
home.nix
|
@ -22,11 +22,6 @@
|
|||
|
||||
home.file = { };
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
MANPAGER = "nvim +Man!";
|
||||
};
|
||||
|
||||
# wayland.windowManager.hyprland = {
|
||||
# enable = true;
|
||||
# package = pkgs.hyprland;
|
||||
|
|
|
@ -21,6 +21,12 @@ in
|
|||
# };
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Set nvim as manpager and default editor
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
MANPAGER = "nvim +Man!";
|
||||
};
|
||||
|
||||
programs.neovim =
|
||||
let
|
||||
nvim-treesitter = pkgs.vimPlugins.nvim-treesitter;
|
||||
|
|
Loading…
Reference in New Issue