all: vi=emacsclient

- disable auto-start of emacs
This commit is contained in:
Aaron Bieber 2024-05-23 13:15:02 -06:00
parent 6c559b5c86
commit e57f6421fa
No known key found for this signature in database
2 changed files with 3 additions and 7 deletions

View File

@ -20,6 +20,7 @@ let
inherit config;
inherit xinlib;
};
myEmacs = pkgs.callPackage ./configs/emacs.nix { inherit isUnstable; };
in
{
imports = [
@ -180,6 +181,7 @@ in
lz4
minisign
mosh
myEmacs
nix-diff
nix-index
nix-output-monitor
@ -196,7 +198,7 @@ in
);
interactiveShellInit = ''
alias vi=nvim
alias vi=emacsclient
'';
};

View File

@ -11,7 +11,6 @@ let
inherit (inputs.traygent.packages.${pkgs.system}) traygent;
inherit (inputs.beyt.packages.${pkgs.system}) beyt;
firefox = import ../configs/firefox.nix { inherit pkgs; };
myEmacs = pkgs.callPackage ../configs/emacs.nix { inherit isUnstable; };
rage = pkgs.writeScriptBin "rage" (import ../bins/rage.nix { inherit pkgs; });
rpr =
pkgs.writeScriptBin "rpr"
@ -69,11 +68,6 @@ with lib; {
services = {
xserver.enable = true;
pcscd.enable = true;
emacs = {
enable = true;
package = myEmacs;
install = true;
};
};
documentation.enable = true;