From 2165b0970ac8f56dc029e773a8c8ceaf6befdda6 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 23 Feb 2024 19:01:33 +0300 Subject: [PATCH] modules/plugins: fix invalid mkIf parent --- modules/plugins/comments/comment-nvim/config.nix | 3 +-- modules/plugins/dashboard/alpha/config.nix | 2 +- modules/plugins/dashboard/dashboard-nvim/config.nix | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/modules/plugins/comments/comment-nvim/config.nix b/modules/plugins/comments/comment-nvim/config.nix index 1c931683..44575108 100644 --- a/modules/plugins/comments/comment-nvim/config.nix +++ b/modules/plugins/comments/comment-nvim/config.nix @@ -3,8 +3,7 @@ lib, ... }: let - inherit (lib.options) mkIf; - inherit (lib.modules) mkMerge; + inherit (lib.modules) mkMerge mkIf; inherit (lib.nvim.dag) entryAnywhere; inherit (lib.nvim.binds) mkExprBinding mkBinding; diff --git a/modules/plugins/dashboard/alpha/config.nix b/modules/plugins/dashboard/alpha/config.nix index 36896650..19f9682b 100644 --- a/modules/plugins/dashboard/alpha/config.nix +++ b/modules/plugins/dashboard/alpha/config.nix @@ -3,7 +3,7 @@ lib, ... }: let - inherit (lib.options) mkIf; + inherit (lib.modules) mkIf; inherit (lib.nvim.dag) entryAnywhere; cfg = config.vim.dashboard.alpha; diff --git a/modules/plugins/dashboard/dashboard-nvim/config.nix b/modules/plugins/dashboard/dashboard-nvim/config.nix index a171bfce..156c8cd0 100644 --- a/modules/plugins/dashboard/dashboard-nvim/config.nix +++ b/modules/plugins/dashboard/dashboard-nvim/config.nix @@ -3,7 +3,7 @@ lib, ... }: let - inherit (lib.options) mkIf; + inherit (lib.modules) mkIf; inherit (lib.nvim.dag) entryAnywhere; cfg = config.vim.dashboard.dashboard-nvim;