use programs.nixvim.defaultEditor

This commit is contained in:
jacekpoz 2024-03-24 16:32:46 +01:00
parent d9663f95b5
commit 1c17da074e
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -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;