From 67edcfcf49eb0c16f795cc57c262941b54e64593 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Thu, 15 Feb 2024 10:50:45 +0100 Subject: [PATCH] change default git editor to $EDITOR --- modules/cli/git.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cli/git.nix b/modules/cli/git.nix index 6df97b7..5743875 100644 --- a/modules/cli/git.nix +++ b/modules/cli/git.nix @@ -22,7 +22,7 @@ in { }; editor = mkOption { type = types.str; - default = config.environment.sessionVariables.EDITOR; + default = "$EDITOR"; description = "commit message editor"; }; defaultBranch = mkOption {