summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common.nix2
-rw-r--r--profiles/groq.nix2
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;