From 6815e6f2765af2dc7e72f9250f73e0005ae9cd2d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 3 Oct 2023 13:20:40 +0200 Subject: kitty: initial configuration --- user/mba.nix | 1 + user/settings/kitty.nix | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 user/settings/kitty.nix diff --git a/user/mba.nix b/user/mba.nix index 5da3eb9e..4438d9a1 100644 --- a/user/mba.nix +++ b/user/mba.nix @@ -8,6 +8,7 @@ ./settings/emacs.nix ./settings/fish.nix ./settings/git.nix + ./settings/kitty.nix ./settings/nixpkgs.nix ./settings/ssh.nix ./settings/tabnine.nix diff --git a/user/settings/kitty.nix b/user/settings/kitty.nix new file mode 100644 index 00000000..6027d877 --- /dev/null +++ b/user/settings/kitty.nix @@ -0,0 +1,25 @@ +{ pkgs +, ... +}: +let + inherit (pkgs) stdenv; +in +{ + programs.kitty = { + enable = true; + font = { + package = pkgs.recursive; + name = "Rec Mono SemiCasual"; + size = 15; + }; + theme = "Alabaster"; + shellIntegration = { + mode = "enabled"; + }; + }; + programs.fish.shellInit = '' + if test -n $KITTY_INSTALLATION_DIR + set -x KITTY_SHELL_INTEGRATION no-cursor + end + ''; +} -- cgit 1.4.1