Fixes for Emacs on Darwin
This commit is contained in:
parent
a0a8a6e7cc
commit
8be6d0c9ca
2 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,12 @@
|
|||
package = pkgs.customEmacs;
|
||||
};
|
||||
|
||||
# For some reason Hunspell dictionaries paths must be specified on Darwin
|
||||
home.sessionVariables =
|
||||
if pkgs.system == "x86_64-darwin" then {
|
||||
DICPATH = "${pkgs.hunspellDicts.it_IT}/share/hunspell:${pkgs.hunspellDicts.en_US}/share/hunspell";
|
||||
} else { };
|
||||
|
||||
home.packages = with pkgs; [
|
||||
python
|
||||
fd
|
||||
|
|
|
@ -31,6 +31,9 @@
|
|||
|
||||
(use-package minimap)
|
||||
|
||||
;; To move in a different config file
|
||||
(when (string-equal system-type "darwin")
|
||||
(setq mac-command-modifier 'ctrl))
|
||||
|
||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||
(setq use-dialog-box nil
|
||||
|
|
Loading…
Add table
Reference in a new issue