about summary refs log tree commit diff
path: root/users/multi/whitby/home-manager.nix
diff options
context:
space:
mode:
authormulti <depot@in-addr.xyz>2020-09-20T19·57+0000
committermulti <depot@in-addr.xyz>2020-09-20T21·59+0000
commit991bf532702cc3fab276c7898f385e0162dfb183 (patch)
treebc9d43695a8e496a68cfbc32e0e585e723e46b39 /users/multi/whitby/home-manager.nix
parent5528a9aa6f4cd8b577bffefb7102ac1cc1d4e2bf (diff)
feat(users/multi): synchronise local changes on whitby. r/1806
Change-Id: I9330c9905e772ab7bbfea12728a1dff9c0d1718f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1992
Tested-by: BuildkiteCI
Reviewed-by: multi <depot@in-addr.xyz>
Diffstat (limited to 'users/multi/whitby/home-manager.nix')
-rw-r--r--users/multi/whitby/home-manager.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/users/multi/whitby/home-manager.nix b/users/multi/whitby/home-manager.nix
index 13e313281a0c..92281aebb011 100644
--- a/users/multi/whitby/home-manager.nix
+++ b/users/multi/whitby/home-manager.nix
@@ -12,6 +12,9 @@ in
     bash = {
       enable = true;
       initExtra = ''
+        bind '"\e[5~":history-search-backward'
+        bind '"\e[6~":history-search-forward'
+
         PS1="[\\u@\\h:\\w]\\\$ "
 
         _Z_CMD=d
@@ -28,6 +31,11 @@ in
         bind-key -n C-S-Right swap-window -t +1
       '';
     };
+
+    vim = {
+      enable = true;
+      extraConfig = "set mouse=";
+    };
   };
 
   home.sessionVariables = {
@@ -37,9 +45,15 @@ in
       "depot=$HOME/nix/depot:" +
       "/nix/var/nix/profiles/per-user/root/channels";
     HOME_MANAGER_CONFIG = <depot/users/multi/whitby/home-manager.nix>;
+    EDITOR = "vim";
   };
 
-  home.packages = (import ../pkgs { inherit pkgs; });
+  home.packages = [
+    pkgs.lsof
+    pkgs.strace
+    pkgs.file
+    pkgs.pciutils
+  ] ++ (import ../pkgs { inherit pkgs; });
 
   home.file = {
     z = {