aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorAdrian Kummerlaender2020-06-16 13:38:38 +0200
committerAdrian Kummerlaender2020-06-16 13:38:38 +0200
commit3c9e22827d6a993d2d2b489b8afbe16ca9892b9f (patch)
tree0d991af10bbe92c3eaa68403654cf3a1388c6a35 /gui
parent8473788abb3c6fcb2935bd316b4200e253b2e80a (diff)
downloadnixos_home-3c9e22827d6a993d2d2b489b8afbe16ca9892b9f.tar
nixos_home-3c9e22827d6a993d2d2b489b8afbe16ca9892b9f.tar.gz
nixos_home-3c9e22827d6a993d2d2b489b8afbe16ca9892b9f.tar.bz2
nixos_home-3c9e22827d6a993d2d2b489b8afbe16ca9892b9f.tar.lz
nixos_home-3c9e22827d6a993d2d2b489b8afbe16ca9892b9f.tar.xz
nixos_home-3c9e22827d6a993d2d2b489b8afbe16ca9892b9f.tar.zst
nixos_home-3c9e22827d6a993d2d2b489b8afbe16ca9892b9f.zip
Add missing icon font for Emacs
Diffstat (limited to 'gui')
-rw-r--r--gui/emacs.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/emacs.nix b/gui/emacs.nix
index 8b9749f..e6fab00 100644
--- a/gui/emacs.nix
+++ b/gui/emacs.nix
@@ -12,6 +12,7 @@
rm metakr.org
mkdir -p $out/share/emacs/site-lisp
mv akr-theme.el $out/share/emacs/site-lisp/
+ ${pkgs.emacs}/bin/emacs -batch -f batch-byte-compile $out/share/emacs/site-lisp/*.el
'';
};
@@ -23,7 +24,7 @@
name = "custom-runtime-env.el";
text = ''
(setenv "PATH" (concat (getenv "PATH")
- ":${tex}/bin"))
+ ":${tex}/bin"))
(add-to-list 'exec-path "${tex}/bin")
(setq counsel-etags-update-tags-backend (lambda (src-dir) (shell-command "${pkgs.universal-ctags}/bin/ctags -e -R")))
@@ -53,6 +54,7 @@
home.packages = with pkgs; [
source-sans-pro
source-serif-pro
+ emacs-all-the-icons-fonts
];
# see https://github.com/rycee/home-manager/issues/589#issuecomment-466594137