summaryrefslogtreecommitdiff
path: root/hm/editors/helix.nix
blob: 05412a88bbd7cdd54dba4a2c41da40c47a6e5323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
    };
  };
}