diff --git a/home/jonas@monolith.nix b/home/jonas@monolith.nix index 0785d9b..e318e4b 100644 --- a/home/jonas@monolith.nix +++ b/home/jonas@monolith.nix @@ -11,6 +11,7 @@ # hive moduless hive.doom.enable = true; hive.doom.enableCopilot = true; + hive.doom.enableTidal = true; hive.doom.withNixPkgs = true; hive.doom.withShellPkgs = true; hive.firefox = { diff --git a/modules/home/doom/doom.nix b/modules/home/doom/doom.nix index 1592e94..b0be3be 100644 --- a/modules/home/doom/doom.nix +++ b/modules/home/doom/doom.nix @@ -88,6 +88,7 @@ in { options.hive.doom = { enable = lib.mkEnableOption "Enable Doom Emacs"; enableCopilot = lib.mkEnableOption "Enable Copilot in Doom Emacs"; + enableTidal = lib.mkEnableOption "Enable TidalCycles"; withLatexPkgs = lib.mkEnableOption "Enable LaTeX packages in doom path"; withShellPkgs = lib.mkEnableOption "Enable shell packages in doom path"; withNixPkgs = lib.mkEnableOption "Enable LaTeX packages in doom path"; @@ -201,6 +202,11 @@ in { source = ./static/packages.d/copilot.el; onChange = "${doom-setup} sync --force -u -e"; }; + "doom-config/packages.d/tidal.el" = { + enable = cfg.enableTidal; + source = ./static/packages.d/tidal.el; + onChange = "${doom-setup} sync --force -u -e"; + }; "doom-emacs" = { source = builtins.fetchGit { url = "https://github.com/doomemacs/doomemacs"; diff --git a/modules/home/doom/static/config.el b/modules/home/doom/static/config.el index 1d51b2c..2eb45d2 100644 --- a/modules/home/doom/static/config.el +++ b/modules/home/doom/static/config.el @@ -35,7 +35,7 @@ ;; 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-monokai-classic) -(custom-set-faces! `(font-lock-operator-face :foreground ,(doom-color 'font-lock-keyword-face))) +(custom-set-faces! `(font-lock-operator-face :foreground ,(doom-color 'operators))) ;; 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/modules/home/doom/static/packages.d/tidal.el b/modules/home/doom/static/packages.d/tidal.el new file mode 100644 index 0000000..86d58fd --- /dev/null +++ b/modules/home/doom/static/packages.d/tidal.el @@ -0,0 +1 @@ +(package! tidal)