Edit for Darwin:
- nixpkgs `allowUnfree` - disabled Emacs as service - Increased font size
This commit is contained in:
parent
8c93e5a526
commit
b12f44b548
4 changed files with 17 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Add table
Reference in a new issue