summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-10-08 12:55:36 +0200
committerLinnnus <[email protected]>2023-10-08 12:55:36 +0200
commitc868c8a61fd3b9a4b404001aba0c4c6b7318a4a3 (patch)
tree8ffbaa16af5598027790cb65f9d74b5799b6d851
parent524ca88b1dc615957de144fc60b77f521f9760af (diff)
Move to non-declarative iTerm2 configuration
-rw-r--r--home/iterm2/default.nix10
-rw-r--r--modules/home-manager/iterm2/default.nix3
2 files changed, 10 insertions, 3 deletions
diff --git a/home/iterm2/default.nix b/home/iterm2/default.nix
index a0edb7e..693e1fb 100644
--- a/home/iterm2/default.nix
+++ b/home/iterm2/default.nix
@@ -12,9 +12,13 @@ in {
config = mkIf isDarwin {
programs.iterm2 = {
enable = true;
- config = {
- SoundForEsc = false;
- };
+ # config = {
+ # # Use the minimal tab style.
+ # # See: https://github.com/gnachman/iTerm2/blob/bd40fba0611fa94684dadf2478625f2a93eb6e47/sources/iTermPreferences.h#L29
+ # TabStyleWithAutomaticOption = 5;
+ # };
+
+ shellIntegration.enableZshIntegration = true;
};
};
}
diff --git a/modules/home-manager/iterm2/default.nix b/modules/home-manager/iterm2/default.nix
index 997bc5b..2293c80 100644
--- a/modules/home-manager/iterm2/default.nix
+++ b/modules/home-manager/iterm2/default.nix
@@ -23,6 +23,9 @@ in {
};
config = mkOption {
+ # FIXME: This breaks iTerm2 too much. Create a patch for iTerm2 that
+ # loads `$XDG_CONFIG_HOME/iterm2/iterm2.plist` in addition to the usual
+ # `~/Library/Preferences/com.googlecode.iterm2.plist`.
description = ''
Application preferences. If these are specified, they are serialized to
PLIST and stored in `~/Library/Preferences/com.googlecode.iterm2.plist`.