From a1c26b127a3902124ee098fd10632dc0238bfec0 Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 24 Sep 2023 19:49:17 +0200 Subject: [PATCH] chore: add kitty terminfo for all systems --- modules/config/system.nix | 9 ++++++++- users/myuser/graphical/kitty.nix | 3 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/config/system.nix b/modules/config/system.nix index 7120c82..649ce18 100644 --- a/modules/config/system.nix +++ b/modules/config/system.nix @@ -1,8 +1,15 @@ -{lib, ...}: { +{ + lib, + pkgs, + ... +}: { # Disable sudo which is entierly unnecessary. security.sudo.enable = false; time.timeZone = lib.mkDefault "Europe/Berlin"; i18n.defaultLocale = "C.UTF-8"; console.keyMap = "de-latin1-nodeadkeys"; + + # Install the kitty terminfo package for all systems. + environment.systemPackages = [pkgs.kitty.terminfo]; } diff --git a/users/myuser/graphical/kitty.nix b/users/myuser/graphical/kitty.nix index c2e566c..9269cea 100644 --- a/users/myuser/graphical/kitty.nix +++ b/users/myuser/graphical/kitty.nix @@ -17,8 +17,7 @@ # Do not wait for inherited child processes. close_on_child_death = "yes"; - - # Disable ligatures when the cursor is on them. + # Only disable ligatures when the cursor is on them. disable_ligatures = "cursor"; # Modified onehalfdark color scheme