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 {