main
 1{
 2  flake.modules.nixos.core = {pkgs, ...}: {
 3    environment.variables.EDITOR = "hx";
 4    environment.systemPackages = [pkgs.helix];
 5  };
 6
 7  flake.modules.homeManager.core = _: {
 8    programs.helix = {
 9      enable = true;
10    };
11  };
12}