summaryrefslogtreecommitdiff
path: root/home/iterm2/default.nix
blob: a0edb7e609230081f123f562306c7915fae3cb98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# This file configures iterm2. Note that the actual definition of iTerm2 for
# home-manager is in `modules/home-manager/iterm2`. *That* file declares
# `options.programs.iterm2.enable`.
{
  pkgs,
  lib,
  ...
}: let
  inherit (lib) mkIf;
  inherit (pkgs.stdenv) isDarwin;
in {
  config = mkIf isDarwin {
    programs.iterm2 = {
      enable = true;
      config = {
        SoundForEsc = false;
      };
    };
  };
}