Browse Source

Swap iosevka for fira-code

main
parent
commit
b0c27853bd
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 13
      README.org
  2. 1
      modules/emacs.nix
  3. 3
      modules/x11.nix

13
README.org

@ -274,8 +274,7 @@ mkShell {
** Java ** Java
OpenJDK is a free and open-source implementation of the Java Platform, Standard Edition. It is the result of an effort Sun Microsystems began in 2006. The implementation is licensed under the GNU General Public License
Version 2 with a linking exception[fn:15].
OpenJDK[fn:15] is a free and open-source implementation of the Java Platform, Standard Edition. It is the result of an effort Sun Microsystems began in 2006. The implementation is licensed under the GNU General Public License Version 2 with a linking exception.
Import this shell with ~nix-shell /etc/dotfiles/shells/java.nix~. Import this shell with ~nix-shell /etc/dotfiles/shells/java.nix~.
@ -1002,7 +1001,8 @@ X11, or X[fn:30] is the generic name for the X Window System Display Server. All
services.printing.enable = true; services.printing.enable = true;
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
iosevka-bin
fira-code
fira-code-symbols
emacs-all-the-icons-fonts emacs-all-the-icons-fonts
]; ];
} }
@ -2075,13 +2075,14 @@ epkgs.magit
#+NAME: emacs-fonts-package #+NAME: emacs-fonts-package
#+BEGIN_SRC nix #+BEGIN_SRC nix
epkgs.hydra epkgs.hydra
epkgs.fira-code-mode
#+END_SRC #+END_SRC
#+NAME: emacs-fonts-elisp #+NAME: emacs-fonts-elisp
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;; Configure the font when running as `emacs-server'. ;; Configure the font when running as `emacs-server'.
(custom-set-faces (custom-set-faces
'(default ((t (:inherit nil :height 120 :family "Iosevka")))))
'(default ((t (:inherit nil :height 120 :family "Fira Code")))))
;; Set all three of Emacs' font faces. ;; Set all three of Emacs' font faces.
;; NOTE: This only works without `emacs-server'. ;; NOTE: This only works without `emacs-server'.
@ -2089,6 +2090,10 @@ epkgs.hydra
;; (set-face-attribute 'fixed-pitch nil :font "Iosevka" :height 96) ;; (set-face-attribute 'fixed-pitch nil :font "Iosevka" :height 96)
;; (set-face-attribute 'variable-pitch nil :font "Iosevka" :height 96) ;; (set-face-attribute 'variable-pitch nil :font "Iosevka" :height 96)
;; Enable the global minor-mode.
(require 'fira-code-mode)
(global-fira-code-mode)
;; Define a `hydra' function for scaling the text interactively. ;; Define a `hydra' function for scaling the text interactively.
(defhydra hydra-text-scale (:timeout 4) (defhydra hydra-text-scale (:timeout 4)
"Scale text" "Scale text"

1
modules/emacs.nix

@ -39,6 +39,7 @@ let
epkgs.vterm epkgs.vterm
epkgs.magit epkgs.magit
epkgs.hydra epkgs.hydra
epkgs.fira-code-mode
epkgs.elfeed epkgs.elfeed
epkgs.nix-mode epkgs.nix-mode
epkgs.projectile epkgs.projectile

3
modules/x11.nix

@ -33,7 +33,8 @@
services.printing.enable = true; services.printing.enable = true;
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
iosevka-bin
fira-code
fira-code-symbols
emacs-all-the-icons-fonts emacs-all-the-icons-fonts
]; ];
} }
Loading…
Cancel
Save