From 991bf532702cc3fab276c7898f385e0162dfb183 Mon Sep 17 00:00:00 2001 From: multi Date: Sun, 20 Sep 2020 19:57:12 +0000 Subject: feat(users/multi): synchronise local changes on whitby. Change-Id: I9330c9905e772ab7bbfea12728a1dff9c0d1718f Reviewed-on: https://cl.tvl.fyi/c/depot/+/1992 Tested-by: BuildkiteCI Reviewed-by: multi --- users/multi/whitby/home-manager.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/users/multi/whitby/home-manager.nix b/users/multi/whitby/home-manager.nix index 13e313281a..92281aebb0 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 = ; + 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 = { -- cgit 1.4.1