diff options
Diffstat (limited to 'hm/editors/helix.nix')
| -rw-r--r-- | hm/editors/helix.nix | 14 |
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; + }; + }; +} |
