From d182974aa249835d4bca87e27a759b75c76a3f1d Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Wed, 20 May 2020 09:44:39 +0200 Subject: [PATCH] Fix terminfo --- home/default.nix | 5 +++-- pkgs/default.nix | 3 +-- system/standalone/default.nix | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/home/default.nix b/home/default.nix index c3c113b1..9568380e 100644 --- a/home/default.nix +++ b/home/default.nix @@ -24,13 +24,14 @@ in { }; tmux = { enable = true; + escapeTime = 1; + historyLimit = 50000; + terminal = "screen-256color"; extraConfig = '' - set default-terminal "xterm-256color" bind-key -n Home send Escape "OH" bind-key -n End send Escape "OF" set -g set-titles on set -g status off - set -g escape-time 1 ''; }; git = { diff --git a/pkgs/default.nix b/pkgs/default.nix index bd349ba8..cecdccbc 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -32,7 +32,6 @@ in rec { extra-system-pkgs = { inherit (pkgs.gitAndTools) git-annex; - inherit (pkgs.rxvt_unicode) terminfo; inherit (pkgs.python3Packages) qrcode; inherit (pkgs) git-crypt htop tree pwgen borgbackup inotifyTools direnv socat nmap ncdu @@ -61,7 +60,7 @@ in rec { inherit (pkgs.pythonPackages) yapf jsbeautifier; inherit (pkgs) go gdb mpc_cli ncmpcpp shfmt htmlTidy astyle nodejs tasksh magic-wormhole - nixfmt stack ghcid rnix-lsp tmate rustup; + nixfmt stack ghcid rnix-lsp tmate rustup kitty; inherit (my-lib) ghc; inherit obelisk; cabal-fmt = (unBreak pkgs.haskell.packages.ghc881.cabal-fmt); diff --git a/system/standalone/default.nix b/system/standalone/default.nix index 510d5f11..0d62c4c1 100644 --- a/system/standalone/default.nix +++ b/system/standalone/default.nix @@ -30,7 +30,6 @@ config.system.build.nixos-rebuild) update-system; } // (import ../../pkgs).system-pkgs); - sessionVariables = { TERMINFO = "/run/current-system/sw/share/terminfo"; }; }; programs = {