From 93a246e99dcd0abc1c99fc9c960190ee0258b73b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 12 Jul 2024 13:07:36 -0700 Subject: Use emacs in groq --- lib/common.nix | 2 +- profiles/groq.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/common.nix b/lib/common.nix index bdf01cd..f9dfbf3 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -9,7 +9,7 @@ in { stateVersion = "18.09"; sessionVariables = { GPGID = gpgid; - EDITOR = "vim"; + EDITOR = lib.mkDefault "vim"; LANG = locale; # LC_ALL = locale; # bash prints an error when I try to set this LANGUAGE = locale; diff --git a/profiles/groq.nix b/profiles/groq.nix index db73525..2dddf13 100644 --- a/profiles/groq.nix +++ b/profiles/groq.nix @@ -9,6 +9,8 @@ in { ../lib/emacs.nix ]; + home.sessionVariables.EDITOR = "emacsclient"; + programs.git.userEmail = lib.mkOverride 10 "bsima@groq.com"; programs.git.extraConfig.safe.directory = "/home/ggagarin/Groq"; programs.emacs.enable = true; -- cgit v1.2.3