nix/modules/home/programs/wezterm/default.nix
Ameya Shenoy 4998e822a7 feat: init
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2024-11-11 01:48:40 +05:30

16 lines
571 B
Nix

{ 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;
};
};
}