NixOS/home/config/wezterm/default.nix

19 lines
315 B
Nix
Raw Normal View History

2024-06-12 18:09:56 +07:00
{ config, lib, ... }:
let
cfg = config.profile.wezterm;
in
2024-06-12 09:54:11 +07:00
{
2024-06-12 18:09:56 +07:00
config = lib.mkIf cfg.enable {
programs.wezterm = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
};
2024-06-12 09:54:11 +07:00
2024-06-12 18:09:56 +07:00
home.file.".config/wezterm" = {
source = ./.;
recursive = true;
};
2024-06-12 09:54:11 +07:00
};
}