Skip to content

Commit e29e584

Browse files
committed
fix config again
1 parent d6c880d commit e29e584

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

nix/home/common.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,13 @@
224224
resurrect
225225
continuum
226226
];
227-
extraConfigBeforePlugins = ''
227+
extraConfig = ''
228228
bind c new-window -c "#{pane_current_path}"
229229
bind % split-window -h -c "#{pane_current_path}"
230230
bind '"' split-window -v -c "#{pane_current_path}"
231+
${lib.optionalString pkgs.stdenv.isDarwin ''
232+
set-option -g default-command "${pkgs.reattach-to-user-namespace}/bin/reattach-to-user-namespace -l ${pkgs.zsh}/bin/zsh"
233+
''}
231234
'';
232235
};
233236

nix/home/os-specific/darwin.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,5 @@ in
3939
};
4040
};
4141

42-
programs.tmux.extraConfig = ''
43-
set-option -g default-command "${pkgs.reattach-to-user-namespace}/bin/reattach-to-user-namespace -l ${pkgs.zsh}/bin/zsh"
44-
'';
45-
4642
programs.zsh.sessionVariables.ANDROID_HOME = "${config.home.homeDirectory}/Library/Android/sdk";
4743
}

0 commit comments

Comments
 (0)