diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index 855186b..e6d14cb 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -32,7 +32,7 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-one) +(setq doom-theme 'everforest-hard-dark) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el index bff0c70..70bdaa5 100644 --- a/emacs/.doom.d/init.el +++ b/emacs/.doom.d/init.el @@ -192,3 +192,6 @@ :config ;;literate (default +bindings +smartparens)) + +(add-to-list 'custom-theme-load-path "~/.emacs.d/everforest") +(load-theme 'everforest-hard-dark t) diff --git a/emacs/default.nix b/emacs/default.nix index 0e8cf57..05b2a99 100644 --- a/emacs/default.nix +++ b/emacs/default.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, config, ... }: +{ pkgs, lib, fetchFromGitHub, ... }: { programs.emacs.enable = true; @@ -13,5 +13,11 @@ source = ./.doom.d; recursive = true; }; + ".emacs.d/everforest".source = pkgs.fetchFromGitHub { + owner = "Theory-of-Everything"; + repo = "everforest-emacs"; + rev = "703b16b742b753f6ad077b5c7f51947d1926c530"; + sha256 = "sha256-ZtpN6wM+R+4w1FCO6axWRNFX8feSau/o3V/wnw5EiJQ="; + }; }; }