diff options
author | Ben Sima <bsima@groq.com> | 2024-07-12 13:07:36 -0700 |
---|---|---|
committer | Ben Sima <bsima@groq.com> | 2024-07-12 13:07:36 -0700 |
commit | 93a246e99dcd0abc1c99fc9c960190ee0258b73b (patch) | |
tree | b0922e06944492c5bc1f24cdf758fb9968878002 | |
parent | 1679d4f13d57149eb64a365138077fdba2b8430c (diff) |
Use emacs in groq
-rw-r--r-- | lib/common.nix | 2 | ||||
-rw-r--r-- | profiles/groq.nix | 2 |
2 files changed, 3 insertions, 1 deletions
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; |