{ lib, config, pkgs, ... }: let cfg = config.snowhawk.wezterm; macos = config.snowhawk.macos.enable; in { options.snowhawk.wezterm = { enable = lib.mkEnableOption "kitty home-manager module"; }; config = lib.mkIf cfg.enable { home.packages = with pkgs; [ wezterm fd ]; programs.wezterm = { enable = true; extraConfig = /* lua */'' return require 'modules' ''; }; xdg.configFile = { wezterm = { source = ../../home/wezterm; recursive = true; executable = true; }; }; }; }