about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--users/wpcarro/nixos/diogenes/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/diogenes/default.nix b/users/wpcarro/nixos/diogenes/default.nix
index f0c8d95cb4..2a3df2e3f5 100644
--- a/users/wpcarro/nixos/diogenes/default.nix
+++ b/users/wpcarro/nixos/diogenes/default.nix
@@ -60,6 +60,13 @@ in {
     };
   };
 
+  # I won't have an Emacs server running on diogenes, and I'll likely be in an
+  # SSH session from within vterm. As such, Vim is one of the few editors that I
+  # tolerably navigate this way.
+  environment.variables = {
+    EDITOR = "vim";
+  };
+
   environment.systemPackages = wpcarro.common.shell-utils;
 
   services = {