summaryrefslogtreecommitdiff
path: root/hm/soft/editor.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soft/editor.nix')
-rw-r--r--hm/soft/editor.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/hm/soft/editor.nix b/hm/soft/editor.nix
new file mode 100644
index 0000000..c99c683
--- /dev/null
+++ b/hm/soft/editor.nix
@@ -0,0 +1,13 @@
+{ config, pkgs, lib, ... }:
+let
+ cfg = config.hm.soft.editor;
+in
+{
+ options.hm.soft.editor.enable = lib.mkEnableOption "enables the vis editor along with the nixd language server";
+ config = lib.mkIf cfg.enable {
+ home.packages = with pkgs; [
+ vis
+ nixd
+ ];
+ };
+}