about summary refs log tree commit diff stats
path: root/modules/by-name/nv/nvim/plgs/telescope/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/nv/nvim/plgs/telescope/default.nix (renamed from modules/home.legacy/conf/nvim/plgs/telescope/default.nix)10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/home.legacy/conf/nvim/plgs/telescope/default.nix b/modules/by-name/nv/nvim/plgs/telescope/default.nix
index c32e139c..193ee1ac 100644
--- a/modules/home.legacy/conf/nvim/plgs/telescope/default.nix
+++ b/modules/by-name/nv/nvim/plgs/telescope/default.nix
@@ -1,10 +1,16 @@
-{...}: {
+{
+  config,
+  lib,
+  ...
+}: let
+  cfg = config.soispha.programs.nvim;
+in {
   imports = [
     ./defaults
     ./keymaps
     ./extensions
   ];
-  programs.nixvim.plugins = {
+  home-manager.users.soispha.programs.nixvim.plugins = lib.mkIf cfg.enable {
     telescope = {
       enable = true;
     };