mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
users/foo-dogsquared/programs/nixvim: update note-taking setup
This commit is contained in:
parent
6b5dd4fe20
commit
a2f7dbb86e
@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, helpers, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# The main star of the show.
|
# The main star of the show.
|
||||||
@ -8,30 +8,35 @@
|
|||||||
plugins.neorg.extraOptions = {
|
plugins.neorg.extraOptions = {
|
||||||
lazy_loading = true;
|
lazy_loading = true;
|
||||||
|
|
||||||
load = {
|
load = lib.mkMerge [
|
||||||
# Pretty much required with tree-sitter integration and all.
|
{
|
||||||
"core.defaults" = { __empty = null; };
|
# Pretty much required with tree-sitter integration and all.
|
||||||
|
"core.defaults" = helpers.emptyTable;
|
||||||
|
|
||||||
# Conceal your blade (which is the markup, in which it is pretty sharp to
|
# Conceal your blade (which is the markup, in which it is pretty sharp to
|
||||||
# look at).
|
# look at).
|
||||||
"core.concealer" = { __empty = null; };
|
"core.concealer" = helpers.emptyTable;
|
||||||
|
|
||||||
# Dear diary...
|
# Dear diary...
|
||||||
"core.journal" = {
|
"core.journal".config = {
|
||||||
strategy = "flat";
|
strategy = "flat";
|
||||||
toc_format = [ "yy" "mm" "dd" "link" "title" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Norg ripping a page from org-mode.
|
|
||||||
"core.ui.calendar" = { __empty = null; };
|
|
||||||
|
|
||||||
# Manage your note workspaces.
|
|
||||||
"core.dirman" = {
|
|
||||||
config.workspaces = {
|
|
||||||
personal = "~/library/notes";
|
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
# Norg ripping a page from org-mode.
|
||||||
|
"core.ui.calendar" = helpers.emptyTable;
|
||||||
|
|
||||||
|
# Manage your note workspaces.
|
||||||
|
"core.dirman".config = {
|
||||||
|
workspaces = {
|
||||||
|
personal = "~/library/notes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
(lib.mkIf config.plugins.nvim-cmp.enable {
|
||||||
|
"core.completion".config.engine = "nvim-cmp";
|
||||||
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Install the common text markup tree-sitter grammars.
|
# Install the common text markup tree-sitter grammars.
|
||||||
@ -47,7 +52,6 @@
|
|||||||
pod
|
pod
|
||||||
rst
|
rst
|
||||||
tsx
|
tsx
|
||||||
typst
|
|
||||||
]
|
]
|
||||||
# Install the tree-sitter parsers required for the core.defaults Neorg
|
# Install the tree-sitter parsers required for the core.defaults Neorg
|
||||||
# module.
|
# module.
|
||||||
|
Loading…
Reference in New Issue
Block a user