This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

1{ config, pkgs, ... }: 2 3{ 4 environment.etc."tmux.conf".text = '' 5 #prefix key to ` 6 set-option -g prefix2 ` 7 8 bind-key r source-file /etc/tmux.conf \; display-message "/etc/tmux.conf reloaded" 9 10 set-option -g default-terminal screen-256color 11 12 #use session instead of windows 13 bind-key c new-session 14 bind-key p switch-client -p 15 bind-key n switch-client -n 16 bind-key C-s switch-client -l 17 ''; 18 nixpkgs.config.packageOverrides = super: { 19 tmux = pkgs.symlinkJoin { 20 name = "tmux"; 21 paths = [ 22 (pkgs.writeDashBin "tmux" '' 23 exec ${super.tmux}/bin/tmux -f /etc/tmux.conf "$@" 24 '') 25 super.tmux 26 ]; 27 }; 28 }; 29 environment.systemPackages = with pkgs; [ 30 tmux 31 ]; 32 33 # programs.bash.interactiveShellInit = '' 34 # if [[ "$TERM" != "linux" && -z "$TMUX" ]]; then 35 # if [[ -n "$SSH_AUTH_SOCK" ]]; then 36 # tmux set-environment -g SSH_AUTH_SOCK "$SSH_AUTH_SOCK" 2>/dev/null 37 # fi 38 39 # exec tmux -u 40 # fi 41 # if [[ "$__host__" != "$HOST" ]]; then 42 # tmux set -g status-bg colour$(string_hash $HOST 255) 43 # export __host__=$HOST 44 # fi 45 # ''; 46}