Browse Source

Add emacs-dashboard

main
parent
commit
8a3716d2a9
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 25
      README.org
  2. 1
      modules/emacs.nix

25
README.org

@ -1072,6 +1072,7 @@ let
<<emacs-desktop-package>>
<<emacs-doom-themes-package>>
<<emacs-doom-modeline-package>>
<<emacs-dashboard-package>>
];
};
@ -1150,6 +1151,7 @@ When Emacs is started, it normally tries to load a Lisp program from an ititiali
<<emacs-transparency-elisp>>
<<emacs-doom-themes-elisp>>
<<emacs-doom-modeline-elisp>>
<<emacs-dashboard-elisp>>
#+END_SRC
It's somtimes desirable to have customization that takes effect during Emacs startup earlier than the normal init file. Place these configurations in =~/.emacs.d/early-init.el=. Most customizations should be put in the normal init file =~/.emacs.d/init.el=.
@ -2604,4 +2606,27 @@ epkgs.doom-modeline
(doom-modeline-set-modeline 'dotfiles/modeline 'default)
#+END_SRC
** Emacs Dashboard
#+NAME emacs-dashboard-package
#+BEGIN_SRC nix
epkgs.emacs-dashboard
#+END_SRC
[[https:github.com/emacs-dashboard/emacs-dashboard][Emacs Dashboard]] is an extensible dashboard display for emacs that shows widgets containing the most relevant information to the user, and is a highly configurable splashscreen for Emacs.
#+NAME emacs-dashboard-elisp
#+BEGIN_SRC emacs-lisp
;; Setup `emacs-dashboard'.
(require 'dashboard)
(dashboard-setup-startup-hook)
;; Configure the dashboard as the default buffer choice.
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
;; Setup the banner and title.
(setq dashboard-banner-logo-title "Immutable NixOS Dotfiles")
(setq dashboard-startup-banner "/etc/dotfiles/docs/images/emacs.png")
#+END_SRC
* Footnotes

1
modules/emacs.nix

@ -62,6 +62,7 @@ let
epkgs.desktop-environment
epkgs.doom-themes
epkgs.doom-modeline
];
};

Loading…
Cancel
Save