about summary refs log tree commit diff stats
path: root/modules/by-name/nv/nvim/plgs/luasnip/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/by-name/nv/nvim/plgs/luasnip/default.nix (renamed from modules/home.legacy/conf/nvim/plgs/luasnip/default.nix)7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/home.legacy/conf/nvim/plgs/luasnip/default.nix b/modules/by-name/nv/nvim/plgs/luasnip/default.nix
index 130fafee..f67c9899 100644
--- a/modules/home.legacy/conf/nvim/plgs/luasnip/default.nix
+++ b/modules/by-name/nv/nvim/plgs/luasnip/default.nix
@@ -1,9 +1,12 @@
 {
   lib,
+  config,
   pkgs,
   ...
-}: {
-  programs.nixvim = {
+}: let
+  cfg = config.soispha.programs.nvim;
+in {
+  home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable {
     plugins.luasnip = {
       enable = true;
     };