summaryrefslogtreecommitdiff
path: root/hm/soft/editor.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-05-03 22:09:25 +0200
committeradikro <adikro@disroot.org>2026-05-03 22:09:25 +0200
commit18e7f651ce33b1544178f444c6bd3fbaf44fc831 (patch)
treeca720cbd6e2a2d49a7e4070915288b079fef75be /hm/soft/editor.nix
parent427b01da7b5be8a27f67bae13e2808d946ed22d8 (diff)
hm changes
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
+ ];
+ };
+}