let's see if this fixes the base theme compilation error

This commit is contained in:
2025-03-01 14:35:59 -06:00
parent 37a3c28629
commit 03990425d8
2 changed files with 9 additions and 8 deletions

View File

@@ -8,7 +8,6 @@
{ {
imports = [ imports = [
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
./stylix.nix
./jawz.nix ./jawz.nix
./modules/modules.nix ./modules/modules.nix
]; ];

View File

@@ -262,13 +262,15 @@ Setting the theme to doom-one. To try out new themes, I set a keybinding for
counsel-load-theme with 'SPC h t'. counsel-load-theme with 'SPC h t'.
#+begin_src emacs-lisp :tangle ./config.el #+begin_src emacs-lisp :tangle ./config.el
(use-package! base16-stylix-theme) (use-package! base16-stylix-theme
(require 'base16-stylix-theme) :ensure nil ;; Ensures it won't be installed if missing
(setq doom-theme 'base16-stylix) :config
;; (setq doom-theme 'doom-opera-light) (setq doom-theme 'base16-stylix))
;; ;; (setq doom-theme 'doom-dark+)
;; (map! :leader ;; Check if base16-stylix-theme is available, otherwise fallback to doom-opera-light
;; :desc "Load new theme" "h t" #'counsel-load-theme) (setq doom-theme (if (featurep 'base16-stylix-theme)
'base16-stylix
'doom-opera-light))
#+end_src #+end_src
* EMMS * EMMS