summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/mba.nix1
-rw-r--r--user/settings/kitty.nix25
2 files changed, 26 insertions, 0 deletions
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
+  '';
+}