forked from poz/niksos
make $EDITOR the default for git
This commit is contained in:
parent
e7bfeaa204
commit
e23234993f
3 changed files with 1 additions and 3 deletions
|
@ -99,7 +99,6 @@
|
|||
userName = "jacekpoz";
|
||||
userEmail = "jacekpoz@cock.li";
|
||||
signingKey = "0EEE6B0C9A8CC06820E59C3894E812A8B12AAE3C";
|
||||
editor = "${pkgs.neovim-nightly}/bin/nvim";
|
||||
defaultBranch = "master";
|
||||
};
|
||||
starship.enable = true;
|
||||
|
|
|
@ -342,7 +342,6 @@
|
|||
userName = "jacekpoz";
|
||||
userEmail = "jacekpoz@cock.li";
|
||||
signingKey = "0EEE6B0C9A8CC06820E59C3894E812A8B12AAE3C";
|
||||
editor = config.environment.sessionVariables.EDITOR;
|
||||
defaultBranch = "master";
|
||||
};
|
||||
starship.enable = true;
|
||||
|
|
|
@ -22,7 +22,7 @@ in {
|
|||
};
|
||||
editor = mkOption {
|
||||
type = types.str;
|
||||
default = "nvim";
|
||||
default = config.environment.sessionVariables.EDITOR;
|
||||
description = "commit message editor";
|
||||
};
|
||||
defaultBranch = mkOption {
|
||||
|
|
Loading…
Reference in a new issue