Set default editor for nushell and remove gui stuff for git

This commit is contained in:
Yadunand Prem 2025-08-31 14:38:05 +08:00
parent 5ab0a414a6
commit cf523c3d7e
2 changed files with 5 additions and 4 deletions

View File

@ -28,10 +28,10 @@
}; };
}; };
programs.git.extraConfig.credential.helper = lib.mkForce [ # programs.git.extraConfig.credential.helper = lib.mkForce [
"${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret" # "${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret"
"${pkgs.git-credential-oauth}/bin/git-credential-oauth" # "${pkgs.git-credential-oauth}/bin/git-credential-oauth"
]; # ];
home.stateVersion = "25.11"; home.stateVersion = "25.11";
programs.home-manager.enable = true; programs.home-manager.enable = true;

View File

@ -23,6 +23,7 @@ in
$env.config.edit_mode = "vi" $env.config.edit_mode = "vi"
$env.config.buffer_editor = "nvim" $env.config.buffer_editor = "nvim"
$env.config.show_banner = false $env.config.show_banner = false
$env.EDITOR = "nvim"
''; '';
shellAliases = { shellAliases = {
lg = "lazygit"; lg = "lazygit";