Disable emacsclient, use standard emacs as EDITOR
This commit is contained in:
parent
dd4da4905b
commit
25d6d2d8e4
|
@ -1,6 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
@ -12,13 +10,7 @@
|
|||
../texlive/default.nix
|
||||
../programming/default.nix
|
||||
];
|
||||
services.emacs = {
|
||||
enable = lib.mkDefault true;
|
||||
package = config.programs.emacs.finalPackage;
|
||||
defaultEditor = true;
|
||||
client.enable = true;
|
||||
socketActivation.enable = true;
|
||||
};
|
||||
home.sessionVariables.EDITOR = "emacs";
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs30.override {
|
||||
|
|
|
@ -351,7 +351,7 @@
|
|||
# Common program shortcuts
|
||||
"SUPER, D, exec, ${config.programs.fuzzel.package}/bin/fuzzel"
|
||||
"SUPER, C, exec, ${config.programs.alacritty.package}/bin/alacritty"
|
||||
"SUPER, E, exec, ${config.programs.emacs.finalPackage}/bin/emacsclient -c"
|
||||
"SUPER, E, exec, ${config.programs.emacs.finalPackage}/bin/emacs"
|
||||
"SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket"
|
||||
"SUPER, F, exec, ${pkgs.nautilus}/bin/nautilus"
|
||||
|
||||
|
|
Loading…
Reference in a new issue