[Emacs] Disable service, set EDITOR environment variable
This commit is contained in:
parent
0c7073fcaf
commit
6bac58a3d8
@ -1,7 +1,7 @@
|
||||
{ pkgs, config, specialArgs, ... }:
|
||||
{
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
defaultEditor = true;
|
||||
startWithUserSession = false;
|
||||
socketActivation.enable = true;
|
||||
|
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user