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