Edit for Darwin:

- nixpkgs `allowUnfree`
- disabled Emacs as service
- Increased font size
This commit is contained in:
Andrea Ciceri 2022-01-19 18:43:44 +01:00
parent 8c93e5a526
commit b12f44b548
No known key found for this signature in database
GPG key ID: AAFD2423608B645B
4 changed files with 17 additions and 2 deletions

View file

@ -14,7 +14,10 @@
enableSSHSupport = true; enableSSHSupport = true;
}; };
nixpkgs.overlays = [ (import ../../pkgs) emacs-overlay.overlay ]; nixpkgs = {
overlays = [ (import ../../pkgs) emacs-overlay.overlay ];
config.allowUnfree = true;
};
nix = { nix = {
package = pkgs.nixUnstable; package = pkgs.nixUnstable;

View file

@ -12,6 +12,14 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
yarn yarn
pinentry_mac pinentry_mac
openscad
nodejs
yabai
skhd
spacebar
xquartz
xterm
]; ];
programs.gpg = { programs.gpg = {

View file

@ -12,7 +12,7 @@
}; };
services.emacs = { services.emacs = {
enable = true; enable = !pkgs.stdenv.hostPlatform.isDarwin;
}; };
# For some reason Hunspell dictionaries paths must be specified on Darwin # For some reason Hunspell dictionaries paths must be specified on Darwin

View file

@ -31,12 +31,16 @@
(use-package minimap) (use-package minimap)
(use-package rainbow-identifiers (use-package rainbow-identifiers
:hook ((prog-mode . rainbow-identifiers-mode))) :hook ((prog-mode . rainbow-identifiers-mode)))
;; To move in a different config file ;; To move in a different config file
(when (string-equal system-type "darwin") (when (string-equal system-type "darwin")
(set-face-attribute 'default nil :height 150)
(setq mac-command-modifier 'ctrl)) (setq mac-command-modifier 'ctrl))
(use-package doom-modeline (use-package doom-modeline
:ensure t :ensure t
:init (doom-modeline-mode 1)) :init (doom-modeline-mode 1))