let's see if this fixes the base theme compilation error
This commit is contained in:
1
base.nix
1
base.nix
@@ -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
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user