Use pkgs.callPackage for all derivations
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -75,7 +75,7 @@ in
|
||||
|
||||
communityPlugins = [
|
||||
{
|
||||
pkg = import ./config/plugins/better-word-count { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/better-word-count { };
|
||||
options = {
|
||||
statusBar = [
|
||||
{
|
||||
@@ -101,7 +101,7 @@ in
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/custom-sort { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/custom-sort { };
|
||||
options = {
|
||||
suspended = false;
|
||||
statusBarEntryEnabled = false;
|
||||
@@ -112,7 +112,7 @@ in
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/dataview { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/dataview { };
|
||||
options = {
|
||||
enableDataviewJs = true;
|
||||
enableInlineDataviewJs = true;
|
||||
@@ -122,7 +122,7 @@ in
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/excalidraw { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/excalidraw { };
|
||||
options = {
|
||||
folder = "Inbox";
|
||||
templateFilePath = "Templates";
|
||||
@@ -145,14 +145,14 @@ in
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/folder-note { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/folder-note { };
|
||||
options = {
|
||||
folderNoteHide = false;
|
||||
folderNoteStrInit = "";
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/kanban { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/kanban { };
|
||||
options = {
|
||||
move-tags = true;
|
||||
move-dates = true;
|
||||
@@ -166,7 +166,7 @@ in
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/languagetool { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/languagetool { };
|
||||
options = {
|
||||
shouldAutoCheck = true;
|
||||
pickyMode = true;
|
||||
@@ -175,7 +175,7 @@ in
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/linter { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/linter { };
|
||||
options = {
|
||||
lintOnSave = true;
|
||||
displayChanged = false;
|
||||
@@ -316,7 +316,7 @@ in
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/map-view { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/map-view { };
|
||||
options = {
|
||||
"markerIconRules" = [
|
||||
{
|
||||
@@ -402,20 +402,20 @@ in
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/minimal-settings { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/minimal-settings { };
|
||||
options = {
|
||||
editorFont = "var(--font-monospace)";
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/outliner { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/outliner { };
|
||||
options = {
|
||||
styleLists = false;
|
||||
stickCursor = "never";
|
||||
};
|
||||
}
|
||||
{
|
||||
pkg = import ./config/plugins/read-it-later { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/read-it-later { };
|
||||
options = {
|
||||
inboxDir = "Inbox";
|
||||
assetsDir = "Inbox/assets";
|
||||
@@ -501,9 +501,9 @@ in
|
||||
textSnippetNote = "%content%";
|
||||
};
|
||||
}
|
||||
(import ./config/plugins/style-settings { inherit pkgs; })
|
||||
(pkgs.callPackage ./config/plugins/style-settings { })
|
||||
{
|
||||
pkg = import ./config/plugins/tasks { inherit pkgs; };
|
||||
pkg = pkgs.callPackage ./config/plugins/tasks { };
|
||||
options = {
|
||||
globalQuery = "short mode";
|
||||
globalFilter = "#todo";
|
||||
@@ -649,12 +649,12 @@ in
|
||||
};
|
||||
};
|
||||
}
|
||||
(import ./config/plugins/url-into-selection { inherit pkgs; })
|
||||
(pkgs.callPackage ./config/plugins/url-into-selection { })
|
||||
];
|
||||
|
||||
cssSnippets = [ ./config/snippets/file-explorer-separators.css ];
|
||||
|
||||
themes = [ (import ./config/themes/minimal { inherit pkgs; }) ];
|
||||
themes = [ (pkgs.callPackage ./config/themes/minimal { }) ];
|
||||
|
||||
hotkeys = {
|
||||
"command-palette:open" = [ { key = "F1"; } ];
|
||||
|
Reference in New Issue
Block a user