use programs.nixvim.defaultEditor
This commit is contained in:
parent
d9663f95b5
commit
1c17da074e
1 changed files with 2 additions and 3 deletions
|
@ -13,9 +13,6 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
nixpkgs.overlays = [ inputs.neovim-nightly-overlay.overlay ];
|
||||
|
||||
environment.sessionVariables = {
|
||||
EDITOR = "${pkgs.neovim-nightly}/bin/nvim";
|
||||
};
|
||||
|
||||
home-manager.users.${username} = {
|
||||
imports = [ inputs.nixvim.homeManagerModules.nixvim ];
|
||||
|
@ -24,6 +21,8 @@ in {
|
|||
enable = true;
|
||||
package = pkgs.neovim-nightly;
|
||||
enableMan = true;
|
||||
defaultEditor = true;
|
||||
|
||||
colorscheme = "catppuccin";
|
||||
colorschemes.catppuccin = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue