summaryrefslogtreecommitdiff
path: root/hm/editors/helix.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
committeradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
commit791bc419b6dac7c70951981ef6b34cdf85828470 (patch)
tree56d0962fdf829ae942feb1344763e54dbc3c89a3 /hm/editors/helix.nix
parente60410393cea222b16743a1a87f29c06b9b3543b (diff)
absolutely massive rewrite, made (almost) everything modular with changes to come
Diffstat (limited to 'hm/editors/helix.nix')
-rw-r--r--hm/editors/helix.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/hm/editors/helix.nix b/hm/editors/helix.nix
new file mode 100644
index 0000000..05412a8
--- /dev/null
+++ b/hm/editors/helix.nix
@@ -0,0 +1,14 @@
+{ config, lib, pkgs, ... }:
+let
+ cfg = config.szpont.hm.editors.helix;
+in
+{
+ options.szpont.hm.editors.helix.enable = lib.mkEnableOption "enables helix editor";
+
+ config = lib.mkIf cfg.enable {
+ programs.helix = {
+ enable = true;
+ package = pkgs.helix;
+ };
+ };
+}