about summary refs log tree commit diff stats
path: root/modules/by-name
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-14 14:50:08 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-14 14:50:08 +0100
commit08c0020ceca7b267561511d36e56037380c57ea9 (patch)
treedcd4adbe61f1d82d971df190dce93f5950fe2678 /modules/by-name
parentfix(modules/inputMethods): Remove (diff)
downloadnixos-config-08c0020ceca7b267561511d36e56037380c57ea9.tar.gz
nixos-config-08c0020ceca7b267561511d36e56037380c57ea9.zip
refactor(modules/nvim/plgs/neorg): Migrate to new RFC 42 module
Diffstat (limited to '')
-rw-r--r--modules/by-name/nv/nvim/plgs/neorg/default.nix72
1 files changed, 38 insertions, 34 deletions
diff --git a/modules/by-name/nv/nvim/plgs/neorg/default.nix b/modules/by-name/nv/nvim/plgs/neorg/default.nix
index 41c80673..03afb16c 100644
--- a/modules/by-name/nv/nvim/plgs/neorg/default.nix
+++ b/modules/by-name/nv/nvim/plgs/neorg/default.nix
@@ -19,43 +19,47 @@ in {
 
       neorg = {
         enable = true;
-        lazyLoading = true;
+        telescopeIntegration.enable = true;
 
-        modules = {
-          "core.defaults" = {
-            __empty = null;
-          };
-          "core.esupports.metagen".config = {
-            type = "auto";
-          };
-          "core.journal".config = {
-            workspace = "journal";
-          };
-          "core.keybinds".config = {
-            __empty = null;
-          };
-          "core.completion".config = {
-            engine = "nvim-cmp";
-          };
-          "core.concealer".config = {
-            __empty = null;
-          };
-          "core.dirman".config = {
-            workspaces = {
-              general = "~/repos/notes/general";
-              journal = "~/repos/notes/journal";
-              projects = "~/repos/notes/projects";
+        settings = {
+          lazy_loading = true;
+
+          load = {
+            "core.defaults" = {
+              __empty = null;
+            };
+            "core.esupports.metagen".config = {
+              type = "auto";
+            };
+            "core.journal".config = {
+              workspace = "journal";
+            };
+            "core.keybinds".config = {
+              __empty = null;
+            };
+            "core.completion".config = {
+              engine = "nvim-cmp";
+            };
+            "core.concealer".config = {
+              __empty = null;
+            };
+            "core.dirman".config = {
+              workspaces = {
+                general = "~/repos/notes/general";
+                journal = "~/repos/notes/journal";
+                projects = "~/repos/notes/projects";
+              };
+            };
+            "core.export".config = {
+              __empty = null;
+            };
+            "core.integrations.telescope".config = {
+              __empty = null;
             };
-          };
-          "core.export".config = {
-            __empty = null;
-          };
-          "core.integrations.telescope".config = {
-            __empty = null;
-          };
 
-          "core.ui.calendar".config = {
-            __empty = null;
+            "core.ui.calendar".config = {
+              __empty = null;
+            };
           };
         };
       };