[Emacs] Disable service, set EDITOR environment variable

This commit is contained in:
Ivan Malison 2023-08-23 00:11:27 -06:00
parent 0c7073fcaf
commit 6bac58a3d8
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ pkgs, config, specialArgs, ... }:
{
services.emacs = {
enable = true;
enable = false;
defaultEditor = true;
startWithUserSession = false;
socketActivation.enable = true;

View File

@ -51,6 +51,7 @@ with lib;
ROFI_SYSTEMD_TERM = "alacritty -e";
NIXPKGS_GIT_REV = "${inputs.nixpkgs.rev}";
NIXPKGS_SOURCE = "${inputs.nixpkgs.outPath}";
EDITOR = "emacsclient --alternate-editor emacs";
};
interactiveShellInit = ''
vterm_printf(){