diff --git a/README.org b/README.org index 9bb5264..fc989ce 100644 --- a/README.org +++ b/README.org @@ -1072,6 +1072,7 @@ let <> <> <> + <> ]; }; @@ -1150,6 +1151,7 @@ When Emacs is started, it normally tries to load a Lisp program from an ititiali <> <> <> +<> #+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 diff --git a/modules/emacs.nix b/modules/emacs.nix index d133678..4f7ecc9 100644 --- a/modules/emacs.nix +++ b/modules/emacs.nix @@ -62,6 +62,7 @@ let epkgs.desktop-environment epkgs.doom-themes epkgs.doom-modeline + ]; };