{ config, lib, pkgs, inputs, ... }: { options.snowflake.home.programs.wezterm.enable = lib.mkEnableOption "enable custom wezterm"; config = lib.mkIf config.snowflake.home.programs.wezterm.enable { programs.wezterm = { enable = true; package = inputs.wezterm.packages.${pkgs.system}.default; # can use this for managing the config inside nix, but I'd rather use stow # to manage config, since that way the config can be easily used on non nix # systems as well extraConfig = builtins.readFile ./wezterm.lua; }; }; }