feat: add tmux and git work config
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
{config, pkgs, lib, ...}:
|
|
||||||
|
|
||||||
{
|
|
||||||
home-manager.useGlobalPkgs = true;
|
|
||||||
home-manager.useUserPackages = true;
|
|
||||||
|
|
||||||
lib.mkIf ( profile == "work" ) {
|
|
||||||
home-manager.users.emmathorpe.imports = [ ./home.nix ../system/modules/work/default.nix ];
|
|
||||||
};
|
|
||||||
lib.mkIf ( profile == "home" ) {
|
|
||||||
home-manager.users.emmathorpe.imports = [ ./home.nix ];
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
+9
-2
@@ -33,9 +33,8 @@
|
|||||||
newSession = true;
|
newSession = true;
|
||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
historyLimit = 50000;
|
historyLimit = 50000;
|
||||||
|
mouse = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# Enable mouse support
|
|
||||||
set -g mouse on
|
|
||||||
# Set pane navigation
|
# Set pane navigation
|
||||||
bind -n M-Left select-pane -L
|
bind -n M-Left select-pane -L
|
||||||
bind -n M-Right select-pane -R
|
bind -n M-Right select-pane -R
|
||||||
@@ -79,5 +78,13 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitFull;
|
package = pkgs.gitFull;
|
||||||
userName = "Emma Thorpe";
|
userName = "Emma Thorpe";
|
||||||
|
extraConfig = {
|
||||||
|
push = {
|
||||||
|
autoSetupRemote = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
delta = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,4 +12,9 @@
|
|||||||
pkgs.kubelogin
|
pkgs.kubelogin
|
||||||
pkgs.curl
|
pkgs.curl
|
||||||
];
|
];
|
||||||
|
programs.tmux = {
|
||||||
|
extraConfig = ''
|
||||||
|
set -g status-right "#(/run/current-system/sw/bin/bash $HOME/code/kube-tmux/kube.tmux 250 red black)"
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user