mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-30 10:03:56 +01:00
fix: emacs - mouse scrolling
This commit is contained in:
1 parent
538dc8954b
commit
a9c2031aee
1 file changed
+3
-2
@@ -74,7 +74,8 @@ in {
|
||||
}
|
||||
|
||||
(mkIf pkgs.stdenv.isLinux (
|
||||
let emacsPkg = pkgs.emacs29-nox; in
|
||||
# Do not use emacs-nox here, which makes the mouse wheel work abnormally
|
||||
let emacsPkg = pkgs.emacs29; in
|
||||
{
|
||||
home.packages = [emacsPkg];
|
||||
services.emacs = {
|
||||
@@ -85,7 +86,7 @@ in {
|
||||
}))
|
||||
|
||||
(mkIf pkgs.stdenv.isDarwin (
|
||||
let emacsPkg = pkgs.emacs29-nox; in
|
||||
let emacsPkg = pkgs.emacs29; in
|
||||
{
|
||||
home.packages = [emacsPkg];
|
||||
launchd.enable = true;
|
||||
|
||||
Reference in new issue
Block a user