diff options
author | William Carroll <wpcarro@gmail.com> | 2021-12-20T02·58-0500 |
---|---|---|
committer | wpcarro <wpcarro@gmail.com> | 2021-12-20T03·02+0000 |
commit | 9b2259a60ddcf064e8f0b5a2622c085b4e535276 (patch) | |
tree | a7b7d9555bc946c1adab98cdc2b84588c42372f2 /users/wpcarro/nixos/marcus | |
parent | 3359f52806202276f36416aef3d05b9aa0ac79dd (diff) |
feat(wpcarro/marcus): Ensure EDITOR is set to Emacs r/3324
I should've done this awhile ago. I'm tired of having `nano` open in vterm instances. Change-Id: I784e4a7a3e8acba11105052b6c0fe1f6f9ac614b Reviewed-on: https://cl.tvl.fyi/c/depot/+/4512 Reviewed-by: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
Diffstat (limited to 'users/wpcarro/nixos/marcus')
-rw-r--r-- | users/wpcarro/nixos/marcus/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/marcus/default.nix b/users/wpcarro/nixos/marcus/default.nix index 78f3527b1222..51ec2dcdc86f 100644 --- a/users/wpcarro/nixos/marcus/default.nix +++ b/users/wpcarro/nixos/marcus/default.nix @@ -94,10 +94,17 @@ in { light.enable = true; }; + environment.variables = { + EDITOR = "emacsclient"; + ALTERNATE_EDITOR = "emacs -q -nw"; + VISUAL = "emacsclient"; + }; + environment.systemPackages = with pkgs; [ alacritty dig direnv + emacs fd firefox fzf |