From 0adab73e226ef8847694e6d5d59798555e574aca Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Mon, 25 Mar 2024 09:05:43 +0300 Subject: [PATCH] feat(editor): make nvim default editor --- modules/home-config.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/home-config.nix b/modules/home-config.nix index 99e6856..eb49532 100644 --- a/modules/home-config.nix +++ b/modules/home-config.nix @@ -112,7 +112,9 @@ in { source = treesitterWithGrammars; }; }; - + home.sessionVariables = { + EDITOR = "nvim"; + }; accounts.email.accounts = { "mrflos@chmok.net" = { realName = "Florian Schmitt"; @@ -220,6 +222,7 @@ in { extraConfig = { pull.rebase = true; init.defaultBranch = "main"; + core.editor = "nvim"; core.fileMode = false; }; };