test
This commit is contained in:
@@ -23,11 +23,11 @@ in {
|
||||
doomLocalDir = "${config.home.homeDirectory}/.local/share/nix-doom";
|
||||
|
||||
# Use emacs-pgtk for better Wayland support on Linux
|
||||
# On macOS, falls back to regular emacs
|
||||
# On macOS, use emacsMacport for yabai compatibility (proper AX roles)
|
||||
emacs =
|
||||
if pkgs.stdenv.isLinux
|
||||
then pkgs.emacs-pgtk
|
||||
else pkgs.emacs;
|
||||
else pkgs.emacsMacport;
|
||||
|
||||
# Extra packages to make available (tree-sitter grammars, etc.)
|
||||
# Tree-sitter grammars are not installed automatically by Doom
|
||||
@@ -68,19 +68,4 @@ in {
|
||||
# Ensure doom directories exist
|
||||
home.file.".local/share/nix-doom/.keep".text = "";
|
||||
|
||||
# Shell aliases for Doom Emacs
|
||||
programs.fish.shellAbbrs = lib.mkIf config.programs.fish.enable {
|
||||
em = "emacsclient -c -a emacs";
|
||||
et = "emacsclient -t -a 'emacs -nw'";
|
||||
};
|
||||
|
||||
programs.zsh.shellAliases = lib.mkIf config.programs.zsh.enable {
|
||||
em = "emacsclient -c -a emacs";
|
||||
et = "emacsclient -t -a 'emacs -nw'";
|
||||
};
|
||||
|
||||
programs.bash.shellAliases = lib.mkIf config.programs.bash.enable {
|
||||
em = "emacsclient -c -a emacs";
|
||||
et = "emacsclient -t -a 'emacs -nw'";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user