Home Gen25 @ 2026-06-30-14:10 by admin-jroeger@T14-OE130-7-ubuntu

This commit is contained in:
Jonas Röger
2026-06-30 14:13:36 +02:00
parent 5db1a1b215
commit 0185a36ef3
3 changed files with 12 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@
hive.doom.enable = true;
hive.doom.asDefaultEditor = true;
hive.doom.enableCopilot = true;
hive.doom.enableLtexPlus = true;
hive.doom.withNixPkgs = true;
hive.doom.withShellPkgs = true;
hive.doom.withCXXPkgs = true;
+7
View File
@@ -70,6 +70,7 @@
++ lib.optionals cfg.withCXXPkgs (cfg.overrideCXXPkgs default-cxx-pkgs)
++ lib.optionals cfg.withPythonPkgs (cfg.overridePythonPkgs default-python-pkgs)
++ lib.optional cfg.enableCopilot pkgs.unstable.copilot-language-server
++ lib.optional cfg.enableLtexPlus pkgs.ltex-ls-plus
++ default-core-pkgs;
doom-socket-name = "main";
wrapped-emacs = pkgs.symlinkJoin {
@@ -114,6 +115,7 @@
asDefaultEditor = lib.mkEnableOption "set the EDITOR variable to use the current emacs server (graphical/non-graphical)";
enableCopilot = lib.mkEnableOption "Enable Copilot in Doom Emacs";
enableTidal = lib.mkEnableOption "Enable TidalCycles";
enableLtexPlus = lib.mkEnableOption "Enable grammar checks via LtexPlus";
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";
@@ -232,6 +234,11 @@
enable = cfg.enableCopilot;
source = ./static/config.d/copilot.el;
};
"doom-config/config.d/ltex-plus.el" = {
enable = cfg.enableLtexPlus;
source = ./static/config.d/ltex-plus.el;
onChange = "${doom-setup} sync --force -u -e";
};
"doom-config/packages/treesit-docgen.el" = {
source = ./static/packages/treesit-docgen.el;
};
@@ -0,0 +1,4 @@
(use-package! lsp-ltex-plus
:defer t
:init
(lsp-ltex-plus-enable-for-modes))