forked from poz/niksos
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 {
|
config = mkIf cfg.enable {
|
||||||
nixpkgs.overlays = [ inputs.neovim-nightly-overlay.overlay ];
|
nixpkgs.overlays = [ inputs.neovim-nightly-overlay.overlay ];
|
||||||
|
|
||||||
environment.sessionVariables = {
|
|
||||||
EDITOR = "${pkgs.neovim-nightly}/bin/nvim";
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
imports = [ inputs.nixvim.homeManagerModules.nixvim ];
|
imports = [ inputs.nixvim.homeManagerModules.nixvim ];
|
||||||
|
@ -24,6 +21,8 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.neovim-nightly;
|
package = pkgs.neovim-nightly;
|
||||||
enableMan = true;
|
enableMan = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
|
||||||
colorscheme = "catppuccin";
|
colorscheme = "catppuccin";
|
||||||
colorschemes.catppuccin = {
|
colorschemes.catppuccin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue