mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-20 21:46:54 +02:00
fix: emacs - mouse scrolling
This commit is contained in:
@@ -74,7 +74,8 @@ in {
|
|||||||
}
|
}
|
||||||
|
|
||||||
(mkIf pkgs.stdenv.isLinux (
|
(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];
|
home.packages = [emacsPkg];
|
||||||
services.emacs = {
|
services.emacs = {
|
||||||
@@ -85,7 +86,7 @@ in {
|
|||||||
}))
|
}))
|
||||||
|
|
||||||
(mkIf pkgs.stdenv.isDarwin (
|
(mkIf pkgs.stdenv.isDarwin (
|
||||||
let emacsPkg = pkgs.emacs29-nox; in
|
let emacsPkg = pkgs.emacs29; in
|
||||||
{
|
{
|
||||||
home.packages = [emacsPkg];
|
home.packages = [emacsPkg];
|
||||||
launchd.enable = true;
|
launchd.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user