2023-09-11 20:23:04 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2019-11-17 23:13:50 +01:00
|
|
|
with lib;
|
2023-09-11 20:23:04 +02:00
|
|
|
mkIf (elem "emacs::doom-themes" config.machine.pkgs) {
|
|
|
|
programs.emacs.init.usePackage.doom-themes = {
|
|
|
|
enable = true;
|
|
|
|
config = ''
|
|
|
|
;; Load the theme (doom-one, doom-molokai, etc); keep in mind that each theme
|
|
|
|
;; may have their own settings.
|
|
|
|
(load-theme 'doom-solarized-dark t)
|
2019-11-17 23:13:50 +01:00
|
|
|
|
2023-09-11 20:23:04 +02:00
|
|
|
;; ${optionalString (elem "emacs::org" config.machine.pkgs) "(doom-themes-org-config)"}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|