Disable emacsclient, use standard emacs as EDITOR

This commit is contained in:
Evie Litherland-Smith 2025-01-27 09:38:04 +00:00
parent dd4da4905b
commit 25d6d2d8e4
2 changed files with 2 additions and 10 deletions

View file

@ -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 {

View file

@ -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"