[Emacs] Disable service, set EDITOR environment variable
This commit is contained in:
parent
0c7073fcaf
commit
6bac58a3d8
@ -1,7 +1,7 @@
|
|||||||
{ pkgs, config, specialArgs, ... }:
|
{ pkgs, config, specialArgs, ... }:
|
||||||
{
|
{
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
enable = true;
|
enable = false;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
startWithUserSession = false;
|
startWithUserSession = false;
|
||||||
socketActivation.enable = true;
|
socketActivation.enable = true;
|
||||||
|
@ -51,6 +51,7 @@ with lib;
|
|||||||
ROFI_SYSTEMD_TERM = "alacritty -e";
|
ROFI_SYSTEMD_TERM = "alacritty -e";
|
||||||
NIXPKGS_GIT_REV = "${inputs.nixpkgs.rev}";
|
NIXPKGS_GIT_REV = "${inputs.nixpkgs.rev}";
|
||||||
NIXPKGS_SOURCE = "${inputs.nixpkgs.outPath}";
|
NIXPKGS_SOURCE = "${inputs.nixpkgs.outPath}";
|
||||||
|
EDITOR = "emacsclient --alternate-editor emacs";
|
||||||
};
|
};
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
vterm_printf(){
|
vterm_printf(){
|
||||||
|
Loading…
Reference in New Issue
Block a user