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