Fixing nvim as git code editor

This commit is contained in:
Lyes Saadi 2024-05-05 22:53:40 +02:00
parent d3c8be615a
commit 5fbb3cc099
No known key found for this signature in database
GPG key ID: 17418538BAA17767
2 changed files with 4 additions and 7 deletions

View file

@ -63,11 +63,10 @@
''; '';
environment.shells = with pkgs; [ fish ]; environment.shells = with pkgs; [ fish ];
# # Environment Variables # Environment Variables
# environment.sessionVariables = { environment.sessionVariables = {
# ELECTRON_OZONE_PLATFORM_HINT = "wayland"; EDITOR = "hx";
# GTK_USE_PORTAL = "1"; };
# };
# Graphics # Graphics
services.xserver.enable = true; services.xserver.enable = true;

View file

@ -11,8 +11,6 @@
signByDefault = true; signByDefault = true;
}; };
extraConfig = { extraConfig = {
code.editor = "nvim";
merge.tool = "nvim";
color.ui = true; color.ui = true;
init.defaultBranch = "main"; init.defaultBranch = "main";
includeIf = { includeIf = {